Skip to content

Commit eeb9ded

Browse files
committed
Minor simplification for adding dependenc ECs to PRs
1 parent d9c3879 commit eeb9ded

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
@@ -1123,8 +1123,8 @@ def _easyconfigs_pr_common(paths, ecs, start_branch=None, pr_branch=None, start_
11231123
all_dep_info = copy_easyconfigs(dep_paths, target_dir)
11241124

11251125
# only consider new easyconfig files for dependencies (not updated ones)
1126-
for idx in range(len(all_dep_info['ecs'])):
1127-
if all_dep_info['new'][idx]:
1126+
for idx, new in enumerate(all_dep_info['new']):
1127+
if new:
11281128
for key, info in dep_info.items():
11291129
info.append(all_dep_info[key][idx])
11301130

0 commit comments

Comments
 (0)