[Collab-qa-commits] r972 - udd/src/udd

neronus-guest at alioth.debian.org neronus-guest at alioth.debian.org
Thu Jul 31 15:38:30 UTC 2008


Author: neronus-guest
Date: 2008-07-31 15:38:29 +0000 (Thu, 31 Jul 2008)
New Revision: 972

Modified:
   udd/src/udd/testing_migrations_gatherer.py
Log:
delete existing entries


Modified: udd/src/udd/testing_migrations_gatherer.py
===================================================================
--- udd/src/udd/testing_migrations_gatherer.py	2008-07-29 14:01:16 UTC (rev 971)
+++ udd/src/udd/testing_migrations_gatherer.py	2008-07-31 15:38:29 UTC (rev 972)
@@ -1,4 +1,4 @@
-# Last-Modified: <Sat Jul 26 13:03:16 2008>
+# Last-Modified: <Thu Jul 31 15:40:12 2008>
 
 # This file is a part of the Ultimate Debian Database Project
 
@@ -30,6 +30,8 @@
       
       c = self.connection.cursor()
 
+      c.execute("DELETE FROM migrations")
+
       c.execute("PREPARE mig_insert AS INSERT INTO migrations VALUES ($1, $2, $3, $4, $5, $6, $7, $8)")
       
       f = open(src_cfg['path'])




More information about the Collab-qa-commits mailing list