projects
/
margebot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c60ca16
)
'reopened' is no longr a state
author
Jude N
<juden@pwan.org>
Sun, 23 Jun 2019 03:06:57 +0000
(23:06 -0400)
committer
Jude N
<juden@pwan.org>
Sun, 23 Jun 2019 03:06:57 +0000
(23:06 -0400)
plugins/marge.py
patch
|
blob
|
history
diff --git
a/plugins/marge.py
b/plugins/marge.py
index
d2bfdb6
..
0dbbffe
100755
(executable)
--- 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
# 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:
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:
a_project = self.gitlab.projects.get(target_project_id)
mr_list = a_project.mergerequests.list(state=state)
for an_mr in mr_list: