diff src/plugins/plugin_exp_pipe.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 2daf7b4c6756
children 8b37a62336c3
line wrap: on
line diff
--- a/src/plugins/plugin_exp_pipe.py	Sun Feb 12 17:55:43 2017 +0100
+++ b/src/plugins/plugin_exp_pipe.py	Sun Feb 12 18:59:10 2017 +0100
@@ -30,14 +30,14 @@
 SECURITY_LIMIT=30
 
 PLUGIN_INFO = {
-    "name": "Pipe Plugin",
-    "import_name": "EXP-PIPE",
-    "type": "EXP",
-    "protocols": ["EXP-PIPE"],
-    "dependencies": ["XEP-0166"],
-    "main": "Exp_Pipe",
-    "handler": "no",
-    "description": _("""Jingle Pipe Transfer experimental plugin""")
+    C.PI_NAME: "Pipe Plugin",
+    C.PI_IMPORT_NAME: "EXP-PIPE",
+    C.PI_TYPE: "EXP",
+    C.PI_PROTOCOLS: ["EXP-PIPE"],
+    C.PI_DEPENDENCIES: ["XEP-0166"],
+    C.PI_MAIN: "Exp_Pipe",
+    C.PI_HANDLER: "no",
+    C.PI_DESCRIPTION: _("""Jingle Pipe Transfer experimental plugin""")
 }
 
 CONFIRM = D_(u"{peer} wants to send you a pipe stream, do you accept ?")