diff src/plugins/plugin_exp_parrot.py @ 594:e629371a28d3

Fix pep8 support in src/plugins.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:55:35 +0100
parents beaf6bec2fcd
children 6fd1095b2b7b
line wrap: on
line diff
--- a/src/plugins/plugin_exp_parrot.py	Mon Jan 21 00:59:50 2013 +0100
+++ b/src/plugins/plugin_exp_parrot.py	Fri Jan 18 17:55:35 2013 +0100
@@ -22,21 +22,21 @@
 from logging import debug, info, warning, error
 from twisted.words.protocols.jabber import jid
 
-
 from sat.core.exceptions import UnknownEntityError
 from sat.tools.misc import SkipOtherTriggers
 
 PLUGIN_INFO = {
-"name": "Parrot Plugin",
-"import_name": "EXP-PARROT",
-"type": "EXP",
-"protocols": [],
-"dependencies": ["XEP-0045"],
-"main": "Exp_Parrot",
-"handler": "no",
-"description": _("""Implementation of parrot mode (repeat messages between 2 entities)""")
+    "name": "Parrot Plugin",
+    "import_name": "EXP-PARROT",
+    "type": "EXP",
+    "protocols": [],
+    "dependencies": ["XEP-0045"],
+    "main": "Exp_Parrot",
+    "handler": "no",
+    "description": _("""Implementation of parrot mode (repeat messages between 2 entities)""")
 }
 
+
 class Exp_Parrot(object):
     """Parrot mode plugin: repeat messages from one entity or MUC room to another one"""
     #XXX: This plugin can be potentially dangerous if we don't trust entities linked
@@ -123,5 +123,3 @@
             del client.parrot_links[source_jid.userhostJID()]
         except (AttributeError, KeyError):
             pass
-
-