Whitespace normalization.

This commit is contained in:
Tim Peters 2001-08-09 21:40:30 +00:00
parent c7ca3ffba3
commit ab9ba27dc0
12 changed files with 54 additions and 55 deletions

View File

@ -107,4 +107,3 @@ class GlobTests(unittest.TestCase):
os.path.join('aab', 'F')]))
run_unittest(GlobTests)

View File

@ -1353,9 +1353,9 @@ elif os.name == 'nt':
# print proxyOverride
# now check if we match one of the registry values.
for test in proxyOverride:
test = test.replace(".", r"\.") # mask dots
test = test.replace("*", r".*") # change glob sequence
test = test.replace("?", r".") # change glob char
test = test.replace(".", r"\.") # mask dots
test = test.replace("*", r".*") # change glob sequence
test = test.replace("?", r".") # change glob char
for val in host:
# print "%s <--> %s" %( test, val )
if re.match(test, val, re.I):