]> git.decadent.org.uk Git - dak.git/commitdiff
clean-suites
authorJoerg Jaspert <joerg@debian.org>
Tue, 24 Feb 2009 22:36:29 +0000 (23:36 +0100)
committerJoerg Jaspert <joerg@debian.org>
Tue, 24 Feb 2009 22:36:29 +0000 (23:36 +0100)
actually run the prepared query...

Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/clean_suites.py

index cc2b7368ffc2569ccb3df1ada4cd235d32128b18..7537eb127e1d107023428d0b1c7b7378e5ea0ee2 100755 (executable)
@@ -211,6 +211,7 @@ def clean():
         query += " LIMIT %d" % maximum
         sys.stdout.write("Limiting removals to %d" % Cnf["Clean-Suites::Options::Maximum"])
 
+    q=projectB.query(query)
     for i in q.getresult():
         filename = i[0] + i[1]
         if not os.path.exists(filename):