commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r7634 - trunk/gnue-common/src/datasources/drivers/DBSIG2


From: johannes
Subject: [gnue] r7634 - trunk/gnue-common/src/datasources/drivers/DBSIG2
Date: Tue, 21 Jun 2005 03:16:16 -0500 (CDT)

Author: johannes
Date: 2005-06-21 03:16:15 -0500 (Tue, 21 Jun 2005)
New Revision: 7634

Modified:
   trunk/gnue-common/src/datasources/drivers/DBSIG2/Behavior.py
Log:
Return an empty command sequence for 'empty diffs'


Modified: trunk/gnue-common/src/datasources/drivers/DBSIG2/Behavior.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/DBSIG2/Behavior.py        
2005-06-21 08:11:47 UTC (rev 7633)
+++ trunk/gnue-common/src/datasources/drivers/DBSIG2/Behavior.py        
2005-06-21 08:16:15 UTC (rev 7634)
@@ -82,6 +82,9 @@
         schema into the new one
     """
 
+    if diff is None:
+      return []
+
     result = (prolog, main, epilog) = ([], [], [])
 
     for block in diff.findChildrenOfType ('GSTables', False, True):





reply via email to

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