commit-gnue
[Top][All Lists]
Advanced

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

r5865 - trunk/gnue-appserver/src/gcd


From: johannes
Subject: r5865 - trunk/gnue-appserver/src/gcd
Date: Tue, 8 Jun 2004 08:24:58 -0500 (CDT)

Author: johannes
Date: 2004-06-08 08:24:57 -0500 (Tue, 08 Jun 2004)
New Revision: 5865

Modified:
   trunk/gnue-appserver/src/gcd/GCParser.py
Log:
Use the proper datatype on property-transformation


Modified: trunk/gnue-appserver/src/gcd/GCParser.py
===================================================================
--- trunk/gnue-appserver/src/gcd/GCParser.py    2004-06-07 15:13:39 UTC (rev 
5864)
+++ trunk/gnue-appserver/src/gcd/GCParser.py    2004-06-08 13:24:57 UTC (rev 
5865)
@@ -249,12 +249,12 @@
         (lstr, sstr) = lsMatch.groups ()
 
         if len (lstr):
-          if self.length is not None:
+          if self.length is not None and self.length:
             raise DuplicateDefinitionError, (self.name, True)
           self.length = int (lstr)
 
         if len (sstr):
-          if self.scale is not None:
+          if self.scale is not None and self.scale:
             raise DuplicateDefinitionError, (self.name, False)
           self.scale = int (sstr)
 
@@ -351,7 +351,7 @@
 
         proc = GCProcedure (self)
         proc.name      = 'get%s' % prop.name
-        proc.type      = prop.type
+        proc.type      = prop.datatype
         proc.length    = prop.length
         proc.scale     = prop.scale
         proc.nullable  = prop.nullable





reply via email to

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