'reopened' is no longr a state
[margebot.git] / 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: