Author: ianb
Date: 2008-11-14 16:45:59 -0700 (Fri, 14 Nov 2008)
New Revision: 3660
Modified:
FormEncode/trunk/formencode/schema.py
FormEncode/trunk/formencode/validators.py
Log:
Removed tabs
Modified: FormEncode/trunk/formencode/schema.py
===================================================================
--- FormEncode/trunk/formencode/schema.py 2008-11-14 23:43:30 UTC (rev
3659)
+++ FormEncode/trunk/formencode/schema.py 2008-11-14 23:45:59 UTC (rev
3660)
@@ -196,8 +196,8 @@
value_dict, state,
error_dict=errors)
- for validator in self.chained_validators:
- new = validator.to_python(new, state)
+ for validator in self.chained_validators:
+ new = validator.to_python(new, state)
return new
Modified: FormEncode/trunk/formencode/validators.py
===================================================================
--- FormEncode/trunk/formencode/validators.py 2008-11-14 23:43:30 UTC (rev
3659)
+++ FormEncode/trunk/formencode/validators.py 2008-11-14 23:45:59 UTC (rev
3660)
@@ -1358,14 +1358,14 @@
value, state)
if self.resolve_domain:
assert have_dns, "pyDNS should be available"
- try:
+ try:
a=DNS.DnsRequest(domain, qtype='mx').req().answers
if not a:
a=DNS.DnsRequest(domain, qtype='a').req().answers
dnsdomains=[x['data'] for x in a]
- except (socket.error, DNS.DNSError), e:
- raise Invalid(
- self.message('socketError', state, error=e),
+ except (socket.error, DNS.DNSError), e:
+ raise Invalid(
+ self.message('socketError', state, error=e),
value, state)
if not dnsdomains:
raise Invalid(
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs