From: Torsten Werner Date: Wed, 18 Nov 2009 19:36:02 +0000 (+0100) Subject: log ids of deleted rows to aid debugging X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=2c55c2809f7a76f9b50e2c7cb7e12e10f29eacc5;p=dak.git log ids of deleted rows to aid debugging Signed-off-by: Torsten Werner --- diff --git a/dak/dominate.py b/dak/dominate.py index 73eee8ca..7bb74c67 100755 --- a/dak/dominate.py +++ b/dak/dominate.py @@ -35,10 +35,11 @@ def fetch(reason, query, args, session): for row in session.execute(query, args).fetchall(): (id, package, version, suite_name, architecture) = row if Options['No-Action']: - print "Delete %s %s from %s architecture %s (%s)" % \ - (package, version, suite_name, architecture, reason) + print "Delete %s %s from %s architecture %s (%s, %d)" % \ + (package, version, suite_name, architecture, reason, id) else: - Logger.log([reason, package, version, suite_name, architecture]) + Logger.log([reason, package, version, suite_name, \ + architecture, id]) idList.append(id) return idList