Mercurial > libervia-backend
comparison src/plugins/plugin_misc_register_account.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 | 545a1261ac3b |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
29 from sat.tools import xml_tools | 29 from sat.tools import xml_tools |
30 from sat.tools.xml_tools import SAT_FORM_PREFIX, SAT_PARAM_SEPARATOR | 30 from sat.tools.xml_tools import SAT_FORM_PREFIX, SAT_PARAM_SEPARATOR |
31 | 31 |
32 | 32 |
33 PLUGIN_INFO = { | 33 PLUGIN_INFO = { |
34 "name": "Register Account Plugin", | 34 C.PI_NAME: "Register Account Plugin", |
35 "import_name": "REGISTER-ACCOUNT", | 35 C.PI_IMPORT_NAME: "REGISTER-ACCOUNT", |
36 "type": "MISC", | 36 C.PI_TYPE: "MISC", |
37 "protocols": [], | 37 C.PI_PROTOCOLS: [], |
38 "dependencies": [], | 38 C.PI_DEPENDENCIES: [], |
39 "recommendations": [], | 39 C.PI_RECOMMENDATIONS: [], |
40 "main": "RegisterAccount", | 40 C.PI_MAIN: "RegisterAccount", |
41 "handler": "no", | 41 C.PI_HANDLER: "no", |
42 "description": _(u"""Register XMPP account""") | 42 C.PI_DESCRIPTION: _(u"""Register XMPP account""") |
43 } | 43 } |
44 | 44 |
45 | 45 |
46 class RegisterAccount(object): | 46 class RegisterAccount(object): |
47 | 47 |