summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix6/flp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-irix6/flp.py')
-rw-r--r--Lib/plat-irix6/flp.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/Lib/plat-irix6/flp.py b/Lib/plat-irix6/flp.py
index 7d5814a..6530487 100644
--- a/Lib/plat-irix6/flp.py
+++ b/Lib/plat-irix6/flp.py
@@ -3,7 +3,6 @@
#
# Jack Jansen, December 1991
#
-import string
import os
import sys
import FL
@@ -248,7 +247,7 @@ def _parse_num(str):
return eval(str)
def _parse_numlist(str):
- slist = string.split(str)
+ slist = str.split()
nlist = []
for i in slist:
nlist.append(_parse_num(i))
@@ -277,9 +276,9 @@ def _parse_line(line):
return line
name, value = match.group(1, 2)
if name[0] == 'N':
- name = string.join(string.split(name),'')
- name = string.lower(name)
- name = string.capitalize(name)
+ name = ''.join(name.split())
+ name = name.lower()
+ name = name.capitalize()
try:
pf = _parse_func[name]
except KeyError: