Created
December 15, 2011 03:45
-
-
Save rhelmer/1479744 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/socorro/external/postgresql/search.py b/socorro/external/postgresql/search.py | |
| index 5354757..283fc01 100644 | |
| --- a/socorro/external/postgresql/search.py | |
| +++ b/socorro/external/postgresql/search.py | |
| @@ -396,7 +396,7 @@ class Search(PostgreSQLBase): | |
| else: | |
| version_info = None | |
| - if not x: | |
| + if x == None: | |
| version_param = "version" | |
| else: | |
| version_param = "version%s" % (x + 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
that should be:
if x is None: