commit-gnue
[Top][All Lists]
Advanced

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

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


From: johannes
Subject: [gnue] r9118 - trunk/gnue-forms/src/GFObjects
Date: Thu, 7 Dec 2006 01:52:43 -0600 (CST)

Author: johannes
Date: 2006-12-07 01:52:42 -0600 (Thu, 07 Dec 2006)
New Revision: 9118

Modified:
   trunk/gnue-forms/src/GFObjects/GFField.py
Log:
Use the field's minimum length


Modified: trunk/gnue-forms/src/GFObjects/GFField.py
===================================================================
--- trunk/gnue-forms/src/GFObjects/GFField.py   2006-12-05 22:46:25 UTC (rev 
9117)
+++ trunk/gnue-forms/src/GFObjects/GFField.py   2006-12-07 07:52:42 UTC (rev 
9118)
@@ -333,7 +333,7 @@
                     value = value.lstrip()
         
             if self.minLength and value is not None and len(value) \
-                    and len(value) < self.field.minLength:
+                    and len(value) < self.minLength:
                 raise MinimumLengthError(self.name, value, self.minLength)
 
         # Auto-query support     





reply via email to

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