Commit 809073be authored by Ronald Oussoren's avatar Ronald Oussoren

Followup for r74962

parent 51f0633e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment