Res is not available in Python 3
This commit is contained in:
parent
ddb95b6a54
commit
450faba7c3
@ -49,8 +49,10 @@ import sys
|
||||
haveMacSupport = 0
|
||||
if sys.platform == "mac":
|
||||
haveMacSupport = 1
|
||||
elif sys.platform == "darwin" and sys.version_info[:3] != (2, 2, 0):
|
||||
elif sys.platform == "darwin":
|
||||
if sys.version_info[:3] != (2, 2, 0) and sys.version_info[:1] < (3,):
|
||||
# Python 2.2's Mac support is broken, so don't enable it there.
|
||||
# Python 3 does not have Res used by macUtils
|
||||
haveMacSupport = 1
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user