~bac/charmworld/remove-bundle

Viewing all changes in revision 482.

  • Committer: Tarmac
  • Author(s): Brad Crittenden, Rick Harding
  • Date: 2014-02-07 15:45:47 UTC
  • mfrom: (481.2.2 rick-charm-icons-debug)
  • Revision ID: tarmac-20140207154547-bxnjxscmo1ue18z1
Add support for debug mode in getting charm icons.

Normally a non-promulgated charm will get the generic icon, even if it has its
own icon.  Adding a '?debug' querystring will cause it to return the actual
icon. 

Landing this change for Rick Harding.
 * Changed debug default value to False from None.
 * Added a test for a non-promulgated charm that does have an icon but no
   debug querystring.

https://codereview.appspot.com/49700045/

R=bac.

Approved by Juju Gui Bot.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: