Commit 58b88081 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Fixed typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7042 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6013bbaa
...@@ -231,8 +231,8 @@ class TemplateTool (BaseTool): ...@@ -231,8 +231,8 @@ class TemplateTool (BaseTool):
except KeyError: except KeyError:
continue continue
value = tar.extractfile(info).read() value = tar.extractfile(info).read()
if prop_type == 'text' or prop_type == 'string' if prop_type == 'text' or prop_type == 'string' \
or prop_type == 'int': or prop_type == 'int':
prop_dict[pid] = value prop_dict[pid] = value
elif prop_type == 'lines' or prop_type == 'tokens': elif prop_type == 'lines' or prop_type == 'tokens':
prop_dict[pid[:-5]] = value.split(str(os.linesep)) prop_dict[pid[:-5]] = value.split(str(os.linesep))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment