From: Holger Levsen Date: Wed, 2 Nov 2011 16:05:03 +0000 (+0100) Subject: fix X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=f386a5029c33806af9d48832cef3242c1ebf0c24;p=profitbricks%2Fjenkins-build-scripts.git fix --- diff --git a/kernel_persistence.py b/kernel_persistence.py index 2cdb743..0c1666e 100644 --- a/kernel_persistence.py +++ b/kernel_persistence.py @@ -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()