Add explicit AttributeError for mod_pbxproj._printNewXCodeFormat
In case issue similar to #295 appears again.
This commit is contained in:
parent
0509c8c0d6
commit
aa01292d81
1 changed files with 1 additions and 1 deletions
2
tools/external/mod_pbxproj.py
vendored
2
tools/external/mod_pbxproj.py
vendored
|
@ -1293,7 +1293,7 @@ class XcodeProject(PBXDict):
|
||||||
try:
|
try:
|
||||||
iterkeys = root.iterkeys()
|
iterkeys = root.iterkeys()
|
||||||
|
|
||||||
except:
|
except AttributeError:
|
||||||
# python 3 support
|
# python 3 support
|
||||||
iterkeys = root.keys()
|
iterkeys = root.keys()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue