summaryrefslogtreecommitdiff
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.py30
1 files changed, 15 insertions, 15 deletions
diff --git a/Lib/plat-irix6/flp.py b/Lib/plat-irix6/flp.py
index aa231070a4..f745472a70 100644
--- a/Lib/plat-irix6/flp.py
+++ b/Lib/plat-irix6/flp.py
@@ -79,18 +79,18 @@ def checkcache(filename):
fp.close()
def _unpack_cache(altforms):
- forms = {}
- for name in altforms.keys():
- altobj, altlist = altforms[name]
- obj = _newobj()
- obj.make(altobj)
- list = []
- for altobj in altlist:
- nobj = _newobj()
- nobj.make(altobj)
- list.append(nobj)
- forms[name] = obj, list
- return forms
+ forms = {}
+ for name in altforms.keys():
+ altobj, altlist = altforms[name]
+ obj = _newobj()
+ obj.make(altobj)
+ list = []
+ for altobj in altlist:
+ nobj = _newobj()
+ nobj.make(altobj)
+ list.append(nobj)
+ forms[name] = obj, list
+ return forms
def rdlong(fp):
s = fp.read(4)
@@ -276,8 +276,8 @@ def _parse_line(line):
return line
name, value = match.group(1, 2)
if name[0] == 'N':
- name = ''.join(name.split())
- name = name.lower()
+ name = ''.join(name.split())
+ name = name.lower()
name = name.capitalize()
try:
pf = _parse_func[name]
@@ -291,7 +291,7 @@ def _readline(file):
if not line:
raise EOFError
return line[:-1]
-
+
def _parse_1_line(file):
line = _readline(file)
while line == '':