From 71dde2d951e57777092de898b2f4e8f465adc8dc Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 28 Sep 2012 20:14:56 +0200 Subject: [PATCH] fix typo --- db_add.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.39.5