From: Thorsten Date: Thu, 4 Oct 2018 19:53:34 +0000 (+0200) Subject: dang it X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=cfd182b229cf0b16cc16ca0b3f66780aa6062b54;p=urlbot-v3.git dang it --- diff --git a/distbot/plugins/feeds.py b/distbot/plugins/feeds.py index 4bf537b..4d5e5e7 100644 --- a/distbot/plugins/feeds.py +++ b/distbot/plugins/feeds.py @@ -26,7 +26,7 @@ class DSAWatcher(Worker): "nick.dsa-watcher.start", "nick.dsa-watcher.stop", "nick.dsa-watcher.run", "nick.dsa-watcher.crawl"] description = 'automatically crawls for newly published Debian Security Announces' - usage = "call with start, stop for background control or \"crawl\" for an intermediate status report" + usage = "call dsa-watcher with start, stop for background control or \"crawl\" for an intermediate status report" @staticmethod def get_id_from_about_string(about): diff --git a/distbot/plugins/plugin_help.py b/distbot/plugins/plugin_help.py index ace8928..ff0e26a 100644 --- a/distbot/plugins/plugin_help.py +++ b/distbot/plugins/plugin_help.py @@ -46,11 +46,10 @@ class Plugins(Worker): ch.basic_ack(delivery_tag=method.delivery_tag) def build_reverse_lookup(self): - reverse_lookup = {} for plugin, definition in self.plugin_storage.items(): for key in definition['bindings']: if key.startswith("nick"): - reverse_lookup[key.split('.')[1]] = plugin + self.reverse_lookup[key.split('.')[1]] = plugin def send_help(self, plugin_name=None): if not plugin_name: