-
Committer:
Tarmac
-
Author(s):
Rick Harding
-
Date:
2013-11-08 15:20:57 UTC
-
mfrom:
(450.1.1 handle-0-rev)
-
Revision ID:
tarmac-20131108152057-vxjx6ibvpchmbuqw
Update proof to handle 0 rev charms.
- When parsing the store url for a rev the regex would return the int 0
- Proof checks to determine if a revision was defined would use if revision
and fail (bool(0) == False)
- Updates the if checks to use if revision is not None, if revision is None
directly.
https://codereview.appspot.com/23600043/
R=bac.
Approved by Juju Gui Bot.