commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r9195 - trunk/gnue-forms/src/GFObjects


From: reinhard
Subject: [gnue] r9195 - trunk/gnue-forms/src/GFObjects
Date: Wed, 3 Jan 2007 13:59:35 -0600 (CST)

Author: reinhard
Date: 2007-01-03 13:59:33 -0600 (Wed, 03 Jan 2007)
New Revision: 9195

Modified:
   trunk/gnue-forms/src/GFObjects/GFField.py
Log:
Allow length also for 'raw' datatype, for compatibility reasons.


Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py   2007-01-03 19:58:48 UTC (rev 
9194)
+++ trunk/gnue-forms/src/GFObjects/GFField.py   2007-01-03 19:59:33 UTC (rev 
9195)
@@ -197,7 +197,7 @@
 
         # Check if "length" attribute is allowed.
         if self.length is not None \
-                and (self.datatype not in ['text', 'number'] \
+                and (self.datatype not in ['text', 'number', 'raw'] \
                     or self.__is_lookup):
             raise LengthNotAllowedError(self)
 





reply via email to

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