fixed IS_STRONG error message
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.4 (2011-12-16 09:42:45) stable
|
||||
Version 1.99.4 (2011-12-16 09:44:46) stable
|
||||
|
||||
+1
-1
@@ -2610,7 +2610,7 @@ class IS_STRONG(object):
|
||||
failures.append("May not include any numbers")
|
||||
if len(failures) == 0:
|
||||
return (value, None)
|
||||
if not translate(self.error_message):
|
||||
if not self.error_message:
|
||||
from html import XML
|
||||
return (value, XML('<br />'.join(failures)))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user