aboutsummaryrefslogtreecommitdiff
path: root/labbot/addons/merge-label.py
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2022-05-04 15:04:46 +0200
committerJan200101 <sentrycraft123@gmail.com>2022-05-04 15:04:46 +0200
commit1ec64ccb178a4164ac204925c20c559d96508a9b (patch)
treea11105d202afa7fb54273ab9d74985bfe7098faa /labbot/addons/merge-label.py
parent27b8241380d5f02fdcf00a832c281767ef258d9f (diff)
downloadlab-bot-1ec64ccb178a4164ac204925c20c559d96508a9b.tar.gz
lab-bot-1ec64ccb178a4164ac204925c20c559d96508a9b.zip
add logging, offload addons into config, allow external addons
Diffstat (limited to 'labbot/addons/merge-label.py')
-rw-r--r--labbot/addons/merge-label.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/labbot/addons/merge-label.py b/labbot/addons/merge-label.py
index 9379b59..4798d4a 100644
--- a/labbot/addons/merge-label.py
+++ b/labbot/addons/merge-label.py
@@ -5,6 +5,10 @@ specified labels.
import os
import re
+import logging
+
+log = logging.getLogger(__name__)
+
title_regex = r"^(?:#|)(\d+)\s*"
word_regex = r"^#(\d+)$"