Commit 337e5cfd authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

bugfix in dependency check, i.e. "erp5_core (>= 1.0rc12)" should be splited...

bugfix in dependency check, i.e. "erp5_core (>= 1.0rc12)" should be splited into "erp5_core" and "(>= 1.0rc12)".

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16014 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent eb668561
...@@ -4617,7 +4617,7 @@ Business Template is a set of definitions, such as skins, portal types and categ ...@@ -4617,7 +4617,7 @@ Business Template is a set of definitions, such as skins, portal types and categ
dependency_list = self.getDependencyList() dependency_list = self.getDependencyList()
if len(dependency_list)!=0: if len(dependency_list)!=0:
for dependency_couple in dependency_list: for dependency_couple in dependency_list:
dependency_couple_list = dependency_couple.split(' ') dependency_couple_list = dependency_couple.split(' ', 1)
dependency = dependency_couple_list[0] dependency = dependency_couple_list[0]
if dependency in (None, ''): if dependency in (None, ''):
continue continue
......
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