mirror of
https://github.com/python/cpython.git
synced 2025-11-27 05:44:16 +00:00
Merged revisions 74964 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74964 | ronald.oussoren | 2009-09-20 12:54:07 +0200 (Sun, 20 Sep 2009) | 2 lines Followup for r74962 ........
This commit is contained in:
parent
40617a8eae
commit
78974dff8f
1 changed files with 1 additions and 2 deletions
|
|
@ -1358,9 +1358,8 @@ if sys.platform == 'darwin':
|
||||||
if proxy_settings['exclude_simple']:
|
if proxy_settings['exclude_simple']:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
for value in proxy_settings.get('exceptions'):
|
for value in proxy_settings.get('exceptions', ()):
|
||||||
# Items in the list are strings like these: *.local, 169.254/16
|
# Items in the list are strings like these: *.local, 169.254/16
|
||||||
value = sc.CFArrayGetValueAtIndex(exceptions, index)
|
|
||||||
if not value: continue
|
if not value: continue
|
||||||
|
|
||||||
m = re.match(r"(\d+(?:\.\d+)*)(/\d+)?", value)
|
m = re.match(r"(\d+(?:\.\d+)*)(/\d+)?", value)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue