Author: russellm Date: 2010-05-10 07:40:54 -0500 (Mon, 10 May 2010) New Revision: 13205
Modified: django/trunk/django/core/validators.py Log: Removed some debug accidentally committed in r13201. Modified: django/trunk/django/core/validators.py =================================================================== --- django/trunk/django/core/validators.py 2010-05-10 12:39:53 UTC (rev 13204) +++ django/trunk/django/core/validators.py 2010-05-10 12:40:54 UTC (rev 13205) @@ -21,22 +21,16 @@ code = 'invalid' def __init__(self, regex=None, message=None, code=None): - print 'test' if regex is not None: - print 1 self.regex = regex if message is not None: - print 2 self.message = message if code is not None: - print 3 self.code = code - print 4 if isinstance(self.regex, basestring): - print 5 self.regex = re.compile(regex) - print 'REGEX', type(self.regex), self.regex + def __call__(self, value): """ Validates that the input matches the regular expression. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.