Commit 0850c95b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

1 element list should have comma.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@15992 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 94f4355a
...@@ -154,7 +154,7 @@ class TextContent: ...@@ -154,7 +154,7 @@ class TextContent:
hdrlist = [] hdrlist = []
for p in self.getPropertyMap(): for p in self.getPropertyMap():
pid = p.get('base_id', p['id']) pid = p.get('base_id', p['id'])
if pid not in ('text_content'): if pid not in ('text_content',):
hdrlist.append((pid, self.getProperty(p['id']))) hdrlist.append((pid, self.getProperty(p['id'])))
return hdrlist return hdrlist
......
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