mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +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 = {}
|
||||
|
||||
try:
|
||||
searchdirs=os.environ['include'].splitfields(';')
|
||||
searchdirs=os.environ['include'].split(';')
|
||||
except KeyError:
|
||||
try:
|
||||
searchdirs=os.environ['INCLUDE'].splitfields(';')
|
||||
searchdirs=os.environ['INCLUDE'].split(';')
|
||||
except KeyError:
|
||||
try:
|
||||
if sys.platform.find("beos") == 0:
|
||||
searchdirs=os.environ['BEINCLUDES'].splitfields(';')
|
||||
searchdirs=os.environ['BEINCLUDES'].split(';')
|
||||
else:
|
||||
raise KeyError
|
||||
except KeyError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue