Commit 90723fec authored by Yoshinori Okuji's avatar Yoshinori Okuji

One more: Revisions should be compared as int.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17279 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 402d0038
...@@ -805,7 +805,7 @@ class TemplateTool (BaseTool): ...@@ -805,7 +805,7 @@ class TemplateTool (BaseTool):
elif diff_version == 0 \ elif diff_version == 0 \
and installed_bt.getRevision() \ and installed_bt.getRevision() \
and property_dict['revision'] \ and property_dict['revision'] \
and installed_bt.getRevision() < property_dict['revision']: and int(installed_bt.getRevision()) < int(property_dict['revision']):
template_item_list.append((repository, property_dict)) template_item_list.append((repository, property_dict))
else: else:
for repository, property_dict_list in self.repository_dict.items(): for repository, property_dict_list in self.repository_dict.items():
......
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