Skip to content

Commit

Permalink
Updated src/tools/generate-README.md.py to ignore closed issues or th…
Browse files Browse the repository at this point in the history
…ose tagged as invalid
  • Loading branch information
Tim Brown authored and Tim Brown committed Aug 27, 2023
1 parent 8cd526e commit 99f874c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/generate-README.md.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
issueid = filedata.groups(0)[0]
file = open(filename, "r")
intel = json.load(file)
currentflag = True
currentflag = not intel["closed"]
for label in intel["labels"]:
if label["name"] == "deprecated" or label["name"] == "duplicate" or label["name"] == "documentation" or label["name"] == "bug":
if label["name"] == "deprecated" or label["name"] == "duplicate" or label["name"] == "documentation" or label["name"] == "bug" or label["name"] == "invalid":
currentflag = currentflag and False
if currentflag:
for line in intel["body"].splitlines():
Expand Down

0 comments on commit 99f874c

Please sign in to comment.