Skip to content

Commit 0cb1dd4

Browse files
committed
Minor simplification for adding dependenc ECs to PRs
1 parent 426f0a9 commit 0cb1dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

easybuild/tools/github.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1061,8 +1061,8 @@ def _easyconfigs_pr_common(paths, ecs, start_branch=None, pr_branch=None, start_
10611061
all_dep_info = copy_easyconfigs(dep_paths, target_dir)
10621062

10631063
# only consider new easyconfig files for dependencies (not updated ones)
1064-
for idx in range(len(all_dep_info['ecs'])):
1065-
if all_dep_info['new'][idx]:
1064+
for idx, new in enumerate(all_dep_info['new']):
1065+
if new:
10661066
for key, info in dep_info.items():
10671067
info.append(all_dep_info[key][idx])
10681068

0 commit comments

Comments
 (0)