[Collab-qa-commits] r2165 - udd/udd

Andreas Tille tille at alioth.debian.org
Tue Feb 28 21:42:52 UTC 2012


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




More information about the Collab-qa-commits mailing list