From fbd649fcb36c7ddacead112cfe36605ec75a7814 Mon Sep 17 00:00:00 2001 From: Lily Wang <31115101+lilyminium@users.noreply.github.com> Date: Sat, 15 Jun 2024 15:12:20 +1000 Subject: [PATCH] Add unused arguments to execute_requires_scientific_review (#359) --- management/lifecycle.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/management/lifecycle.py b/management/lifecycle.py index ae11907a..bb262220 100755 --- a/management/lifecycle.py +++ b/management/lifecycle.py @@ -267,7 +267,7 @@ def execute_errorcycle(self, pr_card, pr_state, ds = DataSet(dataset, self, self.ghapi) ds.comment_archived_complete() - def execute_requires_scientific_review(self): + def execute_requires_scientific_review(self, pr_card, pr_state): # add `scientific-review` label # remove `end-of-life`, `complete` label if present labels = set(map(lambda x: x.name, self.pr.labels))