Whitespace normalization.
This commit is contained in:
parent
0a1af4aeb0
commit
c74298a72b
|
@ -178,7 +178,7 @@ class Template:
|
||||||
mapping = _multimap(kws, args[0])
|
mapping = _multimap(kws, args[0])
|
||||||
else:
|
else:
|
||||||
mapping = args[0]
|
mapping = args[0]
|
||||||
delimiter = self.delimiter[-1]
|
delimiter = self.delimiter[-1]
|
||||||
# Helper function for .sub()
|
# Helper function for .sub()
|
||||||
def convert(mo):
|
def convert(mo):
|
||||||
named = mo.group('named')
|
named = mo.group('named')
|
||||||
|
|
|
@ -118,7 +118,7 @@ def _test():
|
||||||
else:
|
else:
|
||||||
print "Expect InvalidURL"
|
print "Expect InvalidURL"
|
||||||
|
|
||||||
for hp,h,p in (("[fe80::207:e9ff:fe9b]:8000", "fe80::207:e9ff:fe9b", 8000),
|
for hp,h,p in (("[fe80::207:e9ff:fe9b]:8000", "fe80::207:e9ff:fe9b", 8000),
|
||||||
("www.python.org:80", "www.python.org", 80),
|
("www.python.org:80", "www.python.org", 80),
|
||||||
("www.python.org", "www.python.org", 80),
|
("www.python.org", "www.python.org", 80),
|
||||||
("[fe80::207:e9ff:fe9b]", "fe80::207:e9ff:fe9b", 80)):
|
("[fe80::207:e9ff:fe9b]", "fe80::207:e9ff:fe9b", 80)):
|
||||||
|
|
Loading…
Reference in New Issue