Mercurial > libervia-backend
diff src/plugins/plugin_misc_debug.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 | 0f485f1d627d |
children |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_debug.py Sun Feb 12 17:55:43 2017 +0100 +++ b/src/plugins/plugin_misc_debug.py Sun Feb 12 18:59:10 2017 +0100 @@ -24,14 +24,14 @@ import json PLUGIN_INFO = { - "name": "Debug Plugin", - "import_name": "DEBUG", - "type": "Misc", - "protocols": [], - "dependencies": [], - "main": "Debug", - "handler": "no", - "description": _("""Set of method to make development and debugging easier""") + C.PI_NAME: "Debug Plugin", + C.PI_IMPORT_NAME: "DEBUG", + C.PI_TYPE: "Misc", + C.PI_PROTOCOLS: [], + C.PI_DEPENDENCIES: [], + C.PI_MAIN: "Debug", + C.PI_HANDLER: "no", + C.PI_DESCRIPTION: _("""Set of method to make development and debugging easier""") }