comparison src/plugins/plugin_exp_command_export.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 074c2f157dc9
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
26 26
27 from sat.tools import trigger 27 from sat.tools import trigger
28 from sat.tools.utils import clean_ustr 28 from sat.tools.utils import clean_ustr
29 29
30 PLUGIN_INFO = { 30 PLUGIN_INFO = {
31 "name": "Command export plugin", 31 C.PI_NAME: "Command export plugin",
32 "import_name": "EXP-COMMANS-EXPORT", 32 C.PI_IMPORT_NAME: "EXP-COMMANS-EXPORT",
33 "type": "EXP", 33 C.PI_TYPE: "EXP",
34 "protocols": [], 34 C.PI_PROTOCOLS: [],
35 "dependencies": [], 35 C.PI_DEPENDENCIES: [],
36 "main": "CommandExport", 36 C.PI_MAIN: "CommandExport",
37 "handler": "no", 37 C.PI_HANDLER: "no",
38 "description": _("""Implementation of command export""") 38 C.PI_DESCRIPTION: _("""Implementation of command export""")
39 } 39 }
40 40
41 class ExportCommandProtocol(protocol.ProcessProtocol): 41 class ExportCommandProtocol(protocol.ProcessProtocol):
42 """ Try to register an account with prosody """ 42 """ Try to register an account with prosody """
43 43