]> err.no Git - dak/commitdiff
more typo fixes
authorMark Hymers <mhy@debian.org>
Wed, 4 Nov 2009 18:32:15 +0000 (18:32 +0000)
committerMark Hymers <mhy@debian.org>
Wed, 4 Nov 2009 18:32:15 +0000 (18:32 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
daklib/dbconn.py

index 5e9f547809b0aaccf3e0613904ff56b9a49af824..701f131f6669f8ad75a719707be8dd28fae092ba 100644 (file)
@@ -565,15 +565,15 @@ class BuildQueue(object):
             self.write_metadata(starttime)
 
         # Grab files older than our execution time
-       older = session.query(BuildQueueFile).filter_by(build_queue_id = self.queue_id).filter(BuildQueueFile.lastused + timedelta(seconds=self.stay_of_execution) <= starttime).all()
+        older = session.query(BuildQueueFile).filter_by(build_queue_id = self.queue_id).filter(BuildQueueFile.lastused + timedelta(seconds=self.stay_of_execution) <= starttime).all()
 
         for o in older:
             killdb = False
             try:
                 if dryrun:
-                    print "I: Would have removed %s from the queue"
+                    print "I: Would have removed %s from the queue" % o.fullpath
                 else:
-                    print "I: Removing %s from the queue"
+                    print "I: Removing %s from the queue" % o.fullpath
                     os.unlink(o.fullpath)
                     killdb = True
             except OSError, e: