commit-gnue
[Top][All Lists]
Advanced

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

r5293 - trunk/gnue-common/src/schema/scripter/processors


From: reinhard
Subject: r5293 - trunk/gnue-common/src/schema/scripter/processors
Date: Wed, 10 Mar 2004 17:52:34 -0600 (CST)

Author: reinhard
Date: 2004-03-10 17:52:34 -0600 (Wed, 10 Mar 2004)
New Revision: 5293

Modified:
   trunk/gnue-common/src/schema/scripter/processors/SQL.py
Log:
Corrected test for None values.


Modified: trunk/gnue-common/src/schema/scripter/processors/SQL.py
===================================================================
--- trunk/gnue-common/src/schema/scripter/processors/SQL.py     2004-03-10 
23:25:14 UTC (rev 5292)
+++ trunk/gnue-common/src/schema/scripter/processors/SQL.py     2004-03-10 
23:52:34 UTC (rev 5293)
@@ -189,7 +189,7 @@
     values = []
 
     for item in row.values:
-      if item is None:
+      if item.value is None:
         values.append (u"NULL")
       else:
         res = (self._dts_type (item))





reply via email to

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