commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r6805 - trunk/gnue-common/src/schema/scripter


From: johannes
Subject: r6805 - trunk/gnue-common/src/schema/scripter
Date: Tue, 14 Dec 2004 01:55:27 -0600 (CST)

Author: johannes
Date: 2004-12-14 01:55:26 -0600 (Tue, 14 Dec 2004)
New Revision: 6805

Modified:
   trunk/gnue-common/src/schema/scripter/Scripter.py
Log:
If no table definitions are available just use data as specified


Modified: trunk/gnue-common/src/schema/scripter/Scripter.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/Scripter.py   2004-12-13 20:47:00 UTC 
(rev 6804)
+++ trunk/gnue-common/src/schema/scripter/Scripter.py   2004-12-14 07:55:26 UTC 
(rev 6805)
@@ -674,6 +674,9 @@
 
     print o(u_("Updating data ..."))
 
+    if not len (self.tableOrder):
+      self.tableOrder = self.tabledata.keys ()
+
     # make sure to use the proper table order for inserting data
     tablelist = []
     for name in self.tableOrder:





reply via email to

[Prev in Thread] Current Thread [Next in Thread]