]> err.no Git - dak/commitdiff
argh, another typo
authorMark Hymers <mhy@debian.org>
Sat, 31 Oct 2009 21:30:29 +0000 (21:30 +0000)
committerMark Hymers <mhy@debian.org>
Sat, 31 Oct 2009 21:30:29 +0000 (21:30 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/dbconn.py

index 8d8e6af8ea4e43dc24845983bb5099eb8ef0f194..abdea8d38a7a5db3600e93e0737825a05d18e634 100755 (executable)
@@ -448,14 +448,14 @@ class BuildQueue(object):
         for f in self.queuefiles:
             if f.fileid is not None and f.fileid == poolfile.file_id or \
                f.poolfile.filename == poolfile_basename:
-                   # In this case, update the QueueFile entry so we
+                   # 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)
                    return f
 
-        # Prepare QueueFile object
-        qf = QueueFile()
+        # Prepare BuildQueueFile object
+        qf = BuildQueueFile()
         qf.queue_id = self.queue_id
         qf.lastused = datetime.now()
         qf.filename = poolfile_basename