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)
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue