summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgit-bz2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-bz b/git-bz
index 5314b36..7796178 100755
--- a/git-bz
+++ b/git-bz
@@ -1192,7 +1192,7 @@ class Bug(object):
response = self.server.get_xmlrpc_proxy().Bug.create(params)
self.id = response['id']
except xmlrpclib.Fault, e:
- if e.faultString.find("is no version named '") > 0:
+ if e.faultString.find("is no version named '") >= 0:
print >>sys.stderr, e.faultString
print >>sys.stderr
print >>sys.stderr, "You can configure a version for %s with:" % self.server.host