From b3418ee84d6028909a27577fc6654f0395dc7fd5 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sun, 12 Aug 2012 21:38:44 +0400 Subject: [PATCH] regex_filter. split long lines --- regex_filter/regex_filter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/regex_filter/regex_filter.py b/regex_filter/regex_filter.py index a8686bf..69e19dd 100644 --- a/regex_filter/regex_filter.py +++ b/regex_filter/regex_filter.py @@ -107,14 +107,16 @@ class FilterCommands(CommandContainer): HOSTS = ChatCommands, PrivateChatCommands, GroupChatCommands @command("add_filter", raw=True) - @doc(_("Add an incoming filter. First argument is the search regex, second argument is the replace regex.")) + @doc(_("Add an incoming filter. First argument is the search regex, " + "second argument is the replace regex.")) def add_filter(self, search, replace): plugin = gajim.plugin_manager.get_active_plugin('regex_filter') plugin.add_rule(search, replace) return _('Added rule to replace %s by %s' % (search, replace)) @command("remove_filter", raw=True) - @doc(_("Remove an incoming filter. Argument is the rule number. See /list_rules command.")) + @doc(_("Remove an incoming filter. Argument is the rule number. " + "See /list_rules command.")) def remove_filter(self, num): plugin = gajim.plugin_manager.get_active_plugin('regex_filter') if plugin.remove_rule(num):