[Collab-qa-commits] r1080 - udd/src/udd
neronus-guest at alioth.debian.org
neronus-guest at alioth.debian.org
Mon Aug 11 23:15:37 UTC 2008
Author: neronus-guest
Date: 2008-08-11 23:15:37 +0000 (Mon, 11 Aug 2008)
New Revision: 1080
Modified:
udd/src/udd/orphaned_packages_gatherer.py
Log:
bug_merged_with was a constant
Modified: udd/src/udd/orphaned_packages_gatherer.py
===================================================================
--- udd/src/udd/orphaned_packages_gatherer.py 2008-08-11 20:07:46 UTC (rev 1079)
+++ udd/src/udd/orphaned_packages_gatherer.py 2008-08-11 23:15:37 UTC (rev 1080)
@@ -44,7 +44,7 @@
#for the new data:
cur = self.cursor()
cur2 = self.cursor()
- cur.execute("SELECT id, title, arrival FROM %s WHERE package = 'wnpp' AND status != 'done' AND title ~* '^(ITA|RFA|O):' AND id NOT IN (SELECT id from bug_merged_with WHERE id > merged_with)" % self.my_config['unarchived-table'])
+ cur.execute("SELECT id, title, arrival FROM %s WHERE package = 'wnpp' AND status != 'done' AND title ~* '^(ITA|RFA|O):' AND id NOT IN (SELECT id from %s WHERE id > merged_with)" % (self.my_config['unarchived-table'], self.my_config['unarchive-table'] + '_merged_with')
rows = cur.fetchall()
cur2.execute("DELETE FROM %s" % self.my_config['table'])
More information about the Collab-qa-commits
mailing list