Skip to content

Commit

Permalink
* fix endless loop issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lomanyong committed Nov 3, 2016
1 parent 66c4b9e commit 7f783ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions freeline_core/gradle_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -1075,8 +1075,8 @@ def get_local_resources_dependencies(res_type, config, module, project_info):
else:
local_res_deps = []
local_res_deps.extend(res_dependencies['local_resources'])
deps = project_info[module['name']]['local_module_dep']
deps = find_all_dependent_modules(deps, deps, config)
deps = list(project_info[module['name']]['local_module_dep'])
deps = list(set(find_all_dependent_modules(deps, deps, config)))
for m in deps:
deppath = os.path.join(config['build_cache_dir'], m, '{}_dependencies.json'.format(res_type))
if os.path.exists(deppath):
Expand Down

0 comments on commit 7f783ac

Please sign in to comment.