File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -555,8 +555,10 @@ def _mac_ver_xml():
555555 except ImportError :
556556 return None
557557
558- with open (fn , 'rb' ) as f :
559- pl = plistlib .load (f )
558+ # this would require xml parsing
559+ # with open(fn, 'rb') as f:
560+ # pl = plistlib.load(f)
561+ pl = {'ProductVersion' : '10.14.1' }
560562 release = pl ['ProductVersion' ]
561563 versioninfo = ('' , '' , '' )
562564 machine = os .uname ().machine
Original file line number Diff line number Diff line change @@ -2581,7 +2581,7 @@ def ip2num(ipAddr):
25812581 return False
25822582
25832583
2584- if sys .platform == 'darwin' :
2584+ if sys .platform == 'darwin' and False : # changed: use default path in darwin
25852585 from _scproxy import _get_proxy_settings , _get_proxies
25862586
25872587 def proxy_bypass_macosx_sysconf (host ):
You can’t perform that action at this time.
0 commit comments