summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/h2py.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/scripts/h2py.py')
-rwxr-xr-xTools/scripts/h2py.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Tools/scripts/h2py.py b/Tools/scripts/h2py.py
index 689dc66..508c36b 100755
--- a/Tools/scripts/h2py.py
+++ b/Tools/scripts/h2py.py
@@ -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: