From 2c55c2809f7a76f9b50e2c7cb7e12e10f29eacc5 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Wed, 18 Nov 2009 20:36:02 +0100 Subject: [PATCH] log ids of deleted rows to aid debugging Signed-off-by: Torsten Werner --- dak/dominate.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 -- 2.39.5