fedora-accounts export-bugzilla.py,1.13,1.14

Toshio くらとみ (toshio) fedora-extras-commits at redhat.com
Tue Mar 18 01:48:53 UTC 2008


Author: toshio

Update of /cvs/fedora/fedora-accounts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30862

Modified Files:
	export-bugzilla.py 
Log Message:
* Fix ups for FAS2.



Index: export-bugzilla.py
===================================================================
RCS file: /cvs/fedora/fedora-accounts/export-bugzilla.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- export-bugzilla.py	27 Aug 2007 20:56:07 -0000	1.13
+++ export-bugzilla.py	18 Mar 2008 01:48:52 -0000	1.14
@@ -28,8 +28,8 @@
 
     # Select all queued bugzilla changes for this group
     qry = "SELECT b.email, p.human_name, b.action, p.id, g.id" \
-        " from bugzilla_queue as b, person as p, project_group as g" \
-        " where b.person_id = p.id and b.project_group_id = g.id" \
+        " from bugzilla_queue as b, people as p, groups as g" \
+        " where b.person_id = p.id and b.group_id = g.id" \
         " and g.name = %s"
     dbc.execute(qry, (our_group, ))
 
@@ -68,6 +68,6 @@
         
         # Remove them from the queue
         dbc.execute("delete from bugzilla_queue"
-            " where person_id = %s and project_group_id = %s",
+            " where person_id = %s and group_id = %s",
             (record[3], record[4]))
         dbh.commit()




More information about the fedora-extras-commits mailing list