diff src/plugins/plugin_xep_0297.py @ 2145:33c8c4973743

core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author Goffi <goffi@goffi.org>
date Sun, 12 Feb 2017 18:59:10 +0100
parents 1d3f73e065e1
children 8b37a62336c3
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0297.py	Sun Feb 12 17:55:43 2017 +0100
+++ b/src/plugins/plugin_xep_0297.py	Sun Feb 12 18:59:10 2017 +0100
@@ -35,13 +35,13 @@
 NS_SF = C.NS_FORWARD
 
 PLUGIN_INFO = {
-    u"name": u"Stanza Forwarding",
-    u"import_name": u"XEP-0297",
-    u"type": u"XEP",
-    u"protocols": [u"XEP-0297"],
-    u"main": "XEP_0297",
-    u"handler": u"yes",
-    u"description": D_(u"""Implementation of Stanza Forwarding""")
+    C.PI_NAME: u"Stanza Forwarding",
+    C.PI_IMPORT_NAME: u"XEP-0297",
+    C.PI_TYPE: u"XEP",
+    C.PI_PROTOCOLS: [u"XEP-0297"],
+    C.PI_MAIN: "XEP_0297",
+    C.PI_HANDLER: u"yes",
+    C.PI_DESCRIPTION: D_(u"""Implementation of Stanza Forwarding""")
 }