[projects/pld-builder.new] disable broken thingy, seems useless
baggins
baggins at pld-linux.org
Fri Oct 18 22:35:54 CEST 2019
commit 388ce505536b7844d4ef720f076df79f2edb7406
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Oct 18 22:36:37 2019 +0200
disable broken thingy, seems useless
PLD_Builder/request_handler.py | 6 +++---
PLD_Builder/srpm_builder.py | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/PLD_Builder/request_handler.py b/PLD_Builder/request_handler.py
index 45153ea..f960560 100644
--- a/PLD_Builder/request_handler.py
+++ b/PLD_Builder/request_handler.py
@@ -21,7 +21,7 @@ from lock import lock
from bqueue import B_Queue
from config import config, init_conf
from mailer import Message
-import messagebus
+#import messagebus
def check_double_id(id):
id_nl = id + "\n"
@@ -198,10 +198,10 @@ def handle_request(req, filename = None):
status.push("request from %s" % user.login)
r = request.parse_request(body)
if r.kind == 'group':
- messagebus.notify(topic="request.group", user=user.login, **r.dump_json())
+# messagebus.notify(topic="request.group", user=user.login, **r.dump_json())
handle_group(r, user)
elif r.kind == 'notification':
- messagebus.notify(topic="request.notify", user=user.login, **r.dump_json())
+# messagebus.notify(topic="request.notify", user=user.login, **r.dump_json())
handle_notification(r, user)
else:
msg = "%s: don't know how to handle requests of this kind '%s'" \
diff --git a/PLD_Builder/srpm_builder.py b/PLD_Builder/srpm_builder.py
index a99b7e3..ca3452c 100644
--- a/PLD_Builder/srpm_builder.py
+++ b/PLD_Builder/srpm_builder.py
@@ -24,7 +24,7 @@ import notify
import status
import build
import report
-import messagebus
+#import messagebus
from lock import lock
from bqueue import B_Queue
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/projects/pld-builder.new.git/commitdiff/388ce505536b7844d4ef720f076df79f2edb7406
More information about the pld-cvs-commit
mailing list