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

index 7d132967c620ce9c3dc3339f4c0aae6c15b0f5bf..225a915aa25bd944abafb8506b83abe0f9ec335d 100755 (executable)
@@ -47,7 +47,7 @@ if __name__ == '__main__':
         pkg_name = pkg_name.strip().split()[1]
         version = tmp.readline()
         version = version.strip().split()[1]
-        if not get_package_version(origin, pkg_name, version):
+        if not get_package_instance(origin, pkg_name, version):
            print 'adding %s %s from %s' % (pkg_name,version,origin)
            add_package_version(origin, pkg_name, version)