From f386a5029c33806af9d48832cef3242c1ebf0c24 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Nov 2011 17:05:03 +0100 Subject: [PATCH] fix --- kernel_persistence.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5