From 4d24b3022645049292284edacdf51270da33a9ed Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Wed, 4 Nov 2009 18:32:15 +0000 Subject: [PATCH] more typo fixes Signed-off-by: Mark Hymers --- daklib/dbconn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 5e9f5478..701f131f 100644 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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: -- 2.39.2