Skip to content

Commit 77af56f

Browse files
authored
ensure pr_paths is a value copy
1 parent 3bbf975 commit 77af56f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/framework/easyconfig/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ def alt_easyconfig_paths(tmpdir, tweaked_ecs=False, from_prs=None, review_pr=Non
323323
# which are picked up via 'pr_paths' build option in fetch_files_from_pr
324324
pr_paths = []
325325
if from_prs:
326-
pr_paths = from_prs
326+
pr_paths = from_prs[:]
327327
if review_pr and review_pr not in pr_paths:
328328
pr_paths.append(review_pr)
329329

0 commit comments

Comments
 (0)