From 46f27ada4e40408e85f666f2b19b8b5b06ad3bea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 5 Sep 2014 10:42:01 +0200 Subject: [PATCH] More cleanup --- bin/Curve.py | 1 + bin/Queues_Monitoring.py | 6 ------ bin/Url.py | 2 +- 3 files changed, 2 insertions(+), 7 deletions(-) diff --git a/bin/Curve.py b/bin/Curve.py index 85410b52..4a627483 100755 --- a/bin/Curve.py +++ b/bin/Curve.py @@ -55,6 +55,7 @@ if __name__ == "__main__": message = p.get_from_set() prec_filename = None + generate_new_graph = False while True: if message is not None: generate_new_graph = True diff --git a/bin/Queues_Monitoring.py b/bin/Queues_Monitoring.py index 955f3ed5..20c137fb 100755 --- a/bin/Queues_Monitoring.py +++ b/bin/Queues_Monitoring.py @@ -36,12 +36,6 @@ def main(): publisher.port = 6380 publisher.channel = "Queuing" - # ZMQ # - channel = cfg.get("PubSub_Global", "channel") - - # FUNCTIONS # - publisher.info("""Suscribed to channel {0}""".format(channel)) - while True: table = texttable.Texttable() table.header(["Queue name", "#Items"]) diff --git a/bin/Url.py b/bin/Url.py index 8ea2aead..19a0a0d4 100755 --- a/bin/Url.py +++ b/bin/Url.py @@ -31,7 +31,7 @@ if __name__ == "__main__": db=p.config.getint("Redis_Cache", "db")) # Country to log as critical - cc_critical = p.config.get("PubSub_Url", "cc_critical") + cc_critical = p.config.get("Url", "cc_critical") # FUNCTIONS # publisher.info("Script URL subscribed to channel web_categ")