Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(22)

Unified Diff: charmworld/views/api/__init__.py

Issue 88980043: Fix spurious error.
Patch Set: Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « charmworld/tests/test_lp.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: charmworld/views/api/__init__.py
=== modified file 'charmworld/views/api/__init__.py'
--- charmworld/views/api/__init__.py 2014-04-02 14:12:22 +0000
+++ charmworld/views/api/__init__.py 2014-04-17 17:05:31 +0000
@@ -337,7 +337,7 @@
# provided.
version = None
- if version:
+ if version is not None:
if owner:
# URL includes an owner, a basket, and a version.
bundle = path[3]
« no previous file with comments | « charmworld/tests/test_lp.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b