Followup for r74962

This commit is contained in:
Ronald Oussoren 2009-09-20 10:54:07 +00:00
parent 51f0633efd
commit 809073bee1
1 changed files with 1 additions and 2 deletions

View File

@ -1354,9 +1354,8 @@ if sys.platform == 'darwin':
if proxy_settings['exclude_simple']:
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
value = sc.CFArrayGetValueAtIndex(exceptions, index)
if not value: continue
m = re.match(r"(\d+(?:\.\d+)*)(/\d+)?", value)