Whitespace normalization.
This commit is contained in:
parent
c7ca3ffba3
commit
ab9ba27dc0
|
@ -107,4 +107,3 @@ class GlobTests(unittest.TestCase):
|
|||
os.path.join('aab', 'F')]))
|
||||
|
||||
run_unittest(GlobTests)
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue