[Python-checkins] r88939 - tracker/instances/python-dev/detectors/rietveldreactor.py

martin.v.loewis python-checkins at python.org
Mon Apr 9 09:28:22 CEST 2012


Author: martin.v.loewis
Date: Mon Apr  9 09:28:22 2012
New Revision: 88939

Log:
Properly parametrize issue update.


Modified:
   tracker/instances/python-dev/detectors/rietveldreactor.py

Modified: tracker/instances/python-dev/detectors/rietveldreactor.py
==============================================================================
--- tracker/instances/python-dev/detectors/rietveldreactor.py	(original)
+++ tracker/instances/python-dev/detectors/rietveldreactor.py	Mon Apr  9 09:28:22 2012
@@ -39,7 +39,7 @@
             except ValueError:
                 cc.append(new)
             cc = base64.encodestring(cPickle.dumps(cc))
-            c.execute('update codereview_issue set cc=%s where id=%s', (cc, user))
+            c.execute('update codereview_issue set cc=%s where id=%s', (cc, issue))
         
 
 def update_issue_cc(db, cl, nodeid, oldvalues):


More information about the Python-checkins mailing list