]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix typo
authorHolger Levsen <holger@layer-acht.org>
Fri, 28 Sep 2012 18:14:56 +0000 (20:14 +0200)
committerHolger Levsen <holger@layer-acht.org>
Fri, 28 Sep 2012 18:14:56 +0000 (20:14 +0200)
db_add.py

index 927bb751cce32d4d553f960e3dac485c32e0443e..b7214635019bf3e5c06316a000cd7f40a2132a79 100755 (executable)
--- a/db_add.py
+++ b/db_add.py
@@ -137,6 +137,6 @@ def get_package_instance(origin, package, version):
                 " JOIN deb_package_origin ON (deb_package_origin.id = deb_package_instance.deb_package_origin_id)"
                 " WHERE origin = '%s' AND package = '%s' AND version = '%s'" % (origin, package, version))
     except:
-        return -1
+        return False
     return cur.fetchone()[0]