Commit 39551355 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

2011-02-09 Kazuhiko

* compare revisions as int not as str in ERP5Site_upgradeBusinessTemplateList.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@43219 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 73d8eb8a
...@@ -128,7 +128,7 @@ for repository, bt5_id in bt5_list:\n ...@@ -128,7 +128,7 @@ for repository, bt5_id in bt5_list:\n
else:\n else:\n
installed_bt = portal_templates.getInstalledBusinessTemplate(bt5_title, strict=True)\n installed_bt = portal_templates.getInstalledBusinessTemplate(bt5_title, strict=True)\n
if installed_bt is not None:\n if installed_bt is not None:\n
if installed_bt.getRevision() >= new_bt.revision:\n if int(installed_bt.getRevision() or 0) >= int(new_bt.revision or 0):\n
continue\n continue\n
if bt5_title in required_bt5_id_list:\n if bt5_title in required_bt5_id_list:\n
bt5_counter += 1\n bt5_counter += 1\n
......
2011-02-09 Kazuhiko
* compare revisions as int not as str in ERP5Site_upgradeBusinessTemplateList.
2011-02-08 Kazuhiko 2011-02-08 Kazuhiko
* rewrite ERP5Site_upgradeBusinessTemplateList more generic based on business template repositories. * rewrite ERP5Site_upgradeBusinessTemplateList more generic based on business template repositories.
* remove upgrading MySQL charset part, that should be handled by buildout MySQL setup and reindexing with clear_catalog=1. * remove upgrading MySQL charset part, that should be handled by buildout MySQL setup and reindexing with clear_catalog=1.
......
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