X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=TLD_Builder%2Frequest_handler.py;h=74c7f1c4d5de3b58082e90eede2ef80b85c0526c;hb=2848e25627893eca88ca620056216632c9c05f2a;hp=70a1866ff5d5e584a682b078b1a20afb869da00e;hpb=9ea122b00e3a99b16246e1e38576916a2e25c0aa;p=tld-builder.git diff --git a/TLD_Builder/request_handler.py b/TLD_Builder/request_handler.py index 70a1866..74c7f1c 100644 --- a/TLD_Builder/request_handler.py +++ b/TLD_Builder/request_handler.py @@ -19,7 +19,6 @@ from lock import lock from bqueue import B_Queue from config import config, init_conf from mailer import Message -#import messagebus def check_double_id(id): id_nl = id + "\n" @@ -196,10 +195,8 @@ 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()) handle_group(r, user) elif r.kind == 'notification': -# 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'" \