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):



_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to