mirror of
https://github.com/python/cpython.git
synced 2025-10-17 12:18:23 +00:00
SF patch #489680 (David Abrahams): h2py uses nonexistent method splitfields()
This commit is contained in:
parent
14227b4dd4
commit
e51c3f5ecb
1 changed files with 3 additions and 3 deletions
|
@ -42,14 +42,14 @@ filedict = {}
|
||||||
importable = {}
|
importable = {}
|
||||||
|
|
||||||
try:
|
try:
|
||||||
searchdirs=os.environ['include'].splitfields(';')
|
searchdirs=os.environ['include'].split(';')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
try:
|
try:
|
||||||
searchdirs=os.environ['INCLUDE'].splitfields(';')
|
searchdirs=os.environ['INCLUDE'].split(';')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
try:
|
try:
|
||||||
if sys.platform.find("beos") == 0:
|
if sys.platform.find("beos") == 0:
|
||||||
searchdirs=os.environ['BEINCLUDES'].splitfields(';')
|
searchdirs=os.environ['BEINCLUDES'].split(';')
|
||||||
else:
|
else:
|
||||||
raise KeyError
|
raise KeyError
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue