X-Git-Url: https://git.tld-linux.org/?p=tld-builder.git;a=blobdiff_plain;f=TLD_Builder%2Frequest_handler.py;h=74c7f1c4d5de3b58082e90eede2ef80b85c0526c;hp=70a1866ff5d5e584a682b078b1a20afb869da00e;hb=ace2cdc232fa70accd69434e28e41d63b164892b;hpb=57588b3651663a4ba4beff3ec1cd9c5a6de290d5 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'" \