]> err.no Git - dak/commitdiff
add_file_from_pool: Fix typo in variable name
authorFrank Lichtenheld <djpig@debian.org>
Sun, 1 Nov 2009 22:16:03 +0000 (22:16 +0000)
committerFrank Lichtenheld <djpig@debian.org>
Sun, 1 Nov 2009 22:16:03 +0000 (22:16 +0000)
Signed-off-by: Frank Lichtenheld <djpig@debian.org>
daklib/dbconn.py

index 955ca8154bb98440a8af4aa5fcc3a823b48dcba5..361dcf42cfc3b1eaad30d1f3dbc72785678e8c02 100644 (file)
@@ -450,7 +450,7 @@ class BuildQueue(object):
                    # In this case, update the BuildQueueFile entry so we
                    # don't remove it too early
                    f.lastused = datetime.now()
-                   DBConn().session().object_session(pf).add(f)
+                   DBConn().session().object_session(poolfile).add(f)
                    return f
 
         # Prepare BuildQueueFile object