From 133b2a8561644869ab29db462718f7121f54d800 Mon Sep 17 00:00:00 2001 From: Jude N Date: Sat, 22 Jun 2019 23:06:57 -0400 Subject: [PATCH] 'reopened' is no longr a state --- plugins/marge.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/marge.py b/plugins/marge.py index d2bfdb6..0dbbffe 100755 --- a/plugins/marge.py +++ b/plugins/marge.py @@ -488,9 +488,9 @@ class Marge(BotPlugin, CrontabMixin): # pragma pylint: enable=simplifiable-if-statement open_mrs = new_open_mrs - # If adding a new repo, check for existing opened/reopened MRs in the repo. + # If adding a new repo, check for existing opened MRs in the repo. else: - for state in ['opened', 'reopened']: + for state in ['opened']: a_project = self.gitlab.projects.get(target_project_id) mr_list = a_project.mergerequests.list(state=state) for an_mr in mr_list: -- 2.39.2