]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix
authorHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 16:05:03 +0000 (17:05 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 2 Nov 2011 16:05:03 +0000 (17:05 +0100)
kernel_persistence.py

index 2cdb74355d3f553edde58a7f96cb129062a707af..0c1666e2f1047288f18d9ab7bd5372f73f1496d4 100644 (file)
@@ -54,7 +54,7 @@ def get_last_kernel_revision_obj(persistence_identifier):
         answ = session.query(KernelVersion).filter(
                 KernelVersion.identifier == persistence_identifier).one()
     except NoResultFound:
-        session.add(KernelVersion(persistence_identifier, 0, branch, ''))
+        session.add(KernelVersion(persistence_identifier, 0, ''))
         session.commit()
         answ = session.query(KernelVersion).filter(
                 KernelVersion.identifier == persistence_identifier).one()