Reviewers: mp+194526_code.launchpad.net, Message: Please take a look. Description: 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://code.launchpad.net/~rharding/charmworld/handle-0-rev/+merge/194526 (do not edit description out of merge proposal) Please review this at https://codereview.appspot.com/23600043/ Affected files (+8, -5 lines): A [revision details] M charmworld/models.py M charmworld/views/tests/test_proof.py Index: [revision details] === added file '[revision details]' --- [revision details] 2012-01-01 00:00:00 +0000 +++ [revision details] 2012-01-01 00:00:00 +0000 @@ -0,0 +1,2 @@ +Old revision: tarmac-20131107014037-izzty1sphugl28b5 +New revision: