Author: tille
Date: 2012-02-28 21:42:52 +0000 (Tue, 28 Feb 2012)
New Revision: 2165

Modified:
   udd/udd/ddtp_gatherer.py
Log:
Make sure translations will be really deleted before inserting new values.


Modified: udd/udd/ddtp_gatherer.py
===================================================================
--- udd/udd/ddtp_gatherer.py    2012-02-28 13:45:02 UTC (rev 2164)
+++ udd/udd/ddtp_gatherer.py    2012-02-28 21:42:52 UTC (rev 2165)
@@ -187,7 +187,7 @@
         cur = self.cursor()
         # Delete only records where we actually have Translation files.  This
         # prevents dump deletion of all data in case of broken downloads
-        self.log.debug('EXECUTE ddtp_delete (%s)', (lang))
+        cur.execute('EXECUTE ddtp_delete (%s)', (lang,))
 
         i18n_error_flag=0
         descstring = 'Description-'+lang


_______________________________________________
Collab-qa-commits mailing list
Collab-qa-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/collab-qa-commits

Reply via email to