From: Holger Levsen Date: Fri, 28 Sep 2012 18:14:56 +0000 (+0200) Subject: fix typo X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=71dde2d951e57777092de898b2f4e8f465adc8dc;p=profitbricks%2Fjenkins-build-scripts.git fix typo --- diff --git a/db_add.py b/db_add.py index 927bb75..b721463 100755 --- 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]