Commit 8943ced0 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Revisions should be compared as int.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@17277 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fc3d420b
......@@ -791,7 +791,7 @@ class TemplateTool (BaseTool):
elif diff_version == 0 \
and previous_property_dict['revision'] \
and property_dict['revision'] \
and previous_property_dict['revision'] < property_dict['revision']:
and int(previous_property_dict['revision']) < int(property_dict['revision']):
template_item_dict[title] = (repository, property_dict)
# Next, select only updated business templates.
for repository, property_dict in template_item_dict.values():
......
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