Merge pull request #6739 from shujunqiao/pull-build-branch

[ci skip],for stupid error in equal
This commit is contained in:
James Chen 2014-05-14 20:00:07 +08:00
commit 86fb75a031
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@ def check_current_3rd_libs(branch):
config_file_paths = ['external/config.json','templates/lua-template-runtime/runtime/config.json']
if (branch == 'v2'):
config_file_paths = ['external/config.json']
backup_files = current_files = range(1)
backup_files = range(1)
current_files = range(1)
for i, config_file_path in enumerate(config_file_paths):
if not os.path.isfile(config_file_path):
raise Exception("Could not find 'external/config.json'")