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():
555
555
except ImportError :
556
556
return None
557
557
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' }
560
562
release = pl ['ProductVersion' ]
561
563
versioninfo = ('' , '' , '' )
562
564
machine = os .uname ().machine
Original file line number Diff line number Diff line change @@ -2581,7 +2581,7 @@ def ip2num(ipAddr):
2581
2581
return False
2582
2582
2583
2583
2584
- if sys .platform == 'darwin' :
2584
+ if sys .platform == 'darwin' and False : # changed: use default path in darwin
2585
2585
from _scproxy import _get_proxy_settings , _get_proxies
2586
2586
2587
2587
def proxy_bypass_macosx_sysconf (host ):
You can’t perform that action at this time.
0 commit comments