From: Mark Hymers Date: Tue, 27 Oct 2009 15:28:20 +0000 (+0000) Subject: fixup X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=07fff4bbf7aba49614beb56312206dcc841873c9;p=dak.git fixup Signed-off-by: Mark Hymers --- diff --git a/daklib/dbconn.py b/daklib/dbconn.py index adecc38a..abf06074 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -84,6 +84,7 @@ def session_wrapper(fn): # Session is last argument in args session = args[-1] if session is None: + args = list(args) session = args[-1] = DBConn().session() private_transaction = True