'reopened' is no longr a state
authorJude N <juden@pwan.org>
Sun, 23 Jun 2019 03:06:57 +0000 (23:06 -0400)
committerJude N <juden@pwan.org>
Sun, 23 Jun 2019 03:06:57 +0000 (23:06 -0400)
plugins/marge.py

index d2bfdb6..0dbbffe 100755 (executable)
@@ -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: