Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
fixup ee25257
Browse files Browse the repository at this point in the history
fixes #7
  • Loading branch information
ericLemanissier committed Dec 28, 2020
1 parent 1b9a245 commit 32c0b45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ def update_pr_messages(self):
continue
for issue_number in self.libs[lib_name]:
if any(label["name"] == "stale" for label in self.prs[issue_number]["labels"]):
print("skipping %s message because PR is stale" % issue_number)
print("skipping %s message because PR is stale" % issue_number)
continue
if dateutil.parser.isoparse(self.prs[issue_number]["updated_at"]) < datetime.now(timezone.utc) - timedelta(days=15):
print("skipping %s message because PR has not been updated since %s" % (issue_number, self.prs[issue_number]["updated_at"]))
continue
Expand Down

0 comments on commit 32c0b45

Please sign in to comment.