Skip to content

Commit a27517c

Browse files
committed
set
Signed-off-by: Anas Nashif <[email protected]>
1 parent 626b681 commit a27517c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/set_assignees.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import os
99
import time
1010
import datetime
11+
import json
1112
from github import Github, GithubException
1213
from github.GithubException import UnknownObjectException
1314
from collections import defaultdict
@@ -102,7 +103,7 @@ def dump_manifest_changes(gh, maintainer_file, number):
102103
gh_repo = gh.get_repo(f"{args.org}/{args.repo}")
103104
pr = gh_repo.get_pull(number)
104105
fn = list(pr.get_files())
105-
areas = set()
106+
areas = []
106107
for changed_file in fn:
107108
log(f"file: {changed_file.filename}")
108109

@@ -115,7 +116,6 @@ def dump_manifest_changes(gh, maintainer_file, number):
115116

116117
log(f"Areas: {areas}")
117118
# now dump the list of areas into a json file
118-
import json
119119
with open("manifest_areas.json", "w") as f:
120120
json.dump([area.name for area in areas], f, indent=4)
121121

0 commit comments

Comments
 (0)