aboutsummaryrefslogtreecommitdiff
path: root/labbot/addons/approve-merge.py
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-05-04 15:46:36 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-05-04 15:46:36 +0200
commit7bb73cd925a0dc9547699dd555b9f990d8f3ae39 (patch)
tree498ef22a9f9f54da781f804e123d47fc59476f4e /labbot/addons/approve-merge.py
parentfadd1eab07c9dfe317dfc31efa8ea254a78c3eeb (diff)
downloadlab-bot-7bb73cd925a0dc9547699dd555b9f990d8f3ae39.tar.gz
lab-bot-7bb73cd925a0dc9547699dd555b9f990d8f3ae39.zip
remove debug prints, add act labels to merge-label addon
Diffstat (limited to 'labbot/addons/approve-merge.py')
-rw-r--r--labbot/addons/approve-merge.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/labbot/addons/approve-merge.py b/labbot/addons/approve-merge.py
index 81ea68d..9b10ef6 100644
--- a/labbot/addons/approve-merge.py
+++ b/labbot/addons/approve-merge.py
@@ -26,10 +26,9 @@ async def merge_label_hook(event, gl, *args, **kwargs):
if approval_count >= required_approval_count:
if merge_status == "can_be_merged":
- print("test")
await gl.put(merge_url)
else:
- log.debug(f"Cannot merge !{iid} because of its merge_statuc `{merge_status}`")
+ log.debug(f"Cannot merge !{iid} because of its merge_status `{merge_status}`")
def setup(bot):
bot.register_merge_hook(merge_label_hook)