Commit 8a9ef84e authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Łukasz Nowak

list.reverse() returns None.

parent 88580b66
...@@ -244,7 +244,7 @@ initialization = ...@@ -244,7 +244,7 @@ initialization =
os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__))) os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
os.environ['ZOPE_SCRIPTS'] = '' os.environ['ZOPE_SCRIPTS'] = ''
parts_directory = '''${buildout:parts-directory}''' parts_directory = '''${buildout:parts-directory}'''
repository_id_list = '''${erp5_repository_list:repository_id_list}'''.split().reverse() repository_id_list = reversed('''${erp5_repository_list:repository_id_list}'''.split())
temp_bt5_path_list = ['/'.join([parts_directory, x, 'bt5']) for x in repository_id_list] temp_bt5_path_list = ['/'.join([parts_directory, x, 'bt5']) for x in repository_id_list]
bt5_path_list = [] bt5_path_list = []
[bt5_path_list.extend([bt5_path, '%s/*' % bt5_path]) for bt5_path in temp_bt5_path_list] [bt5_path_list.extend([bt5_path, '%s/*' % bt5_path]) for bt5_path in temp_bt5_path_list]
......
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