Slight style cleanup.
This commit is contained in:
parent
422545f0e7
commit
e127e24359
|
@ -1157,7 +1157,8 @@ def splitvalue(attr):
|
|||
return attr, None
|
||||
|
||||
_hexdig = '0123456789ABCDEFabcdef'
|
||||
_hextochr = dict((a+b, chr(int(a+b,16))) for a in _hexdig for b in _hexdig)
|
||||
_hextochr = dict((a + b, chr(int(a + b, 16)))
|
||||
for a in _hexdig for b in _hexdig)
|
||||
|
||||
def unquote(s):
|
||||
"""unquote('abc%20def') -> 'abc def'."""
|
||||
|
@ -1380,7 +1381,6 @@ if sys.platform == 'darwin':
|
|||
|
||||
return False
|
||||
|
||||
|
||||
def getproxies_macosx_sysconf():
|
||||
"""Return a dictionary of scheme -> proxy server URL mappings.
|
||||
|
||||
|
@ -1389,8 +1389,6 @@ if sys.platform == 'darwin':
|
|||
"""
|
||||
return _get_proxies()
|
||||
|
||||
|
||||
|
||||
def proxy_bypass(host):
|
||||
if getproxies_environment():
|
||||
return proxy_bypass_environment(host)
|
||||
|
|
Loading…
Reference in New Issue