Mercurial > libervia-backend
diff src/plugins/plugin_misc_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 | 1d3f73e065e1 |
children | 61128d260eef |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_account.py Sun Feb 12 17:55:43 2017 +0100 +++ b/src/plugins/plugin_misc_account.py Sun Feb 12 18:59:10 2017 +0100 @@ -37,15 +37,15 @@ PLUGIN_INFO = { - "name": "Account Plugin", - "import_name": "MISC-ACCOUNT", - "type": "MISC", - "protocols": [], - "dependencies": [], - "recommendations": ['GROUPBLOG'], - "main": "MiscAccount", - "handler": "no", - "description": _(u"""SàT account creation""") + C.PI_NAME: "Account Plugin", + C.PI_IMPORT_NAME: "MISC-ACCOUNT", + C.PI_TYPE: "MISC", + C.PI_PROTOCOLS: [], + C.PI_DEPENDENCIES: [], + C.PI_RECOMMENDATIONS: ['GROUPBLOG'], + C.PI_MAIN: "MiscAccount", + C.PI_HANDLER: "no", + C.PI_DESCRIPTION: _(u"""SàT account creation""") } CONFIG_SECTION = "plugin account"