comparison 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
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
22 log = getLogger(__name__) 22 log = getLogger(__name__)
23 from sat.core.constants import Const as C 23 from sat.core.constants import Const as C
24 import json 24 import json
25 25
26 PLUGIN_INFO = { 26 PLUGIN_INFO = {
27 "name": "Debug Plugin", 27 C.PI_NAME: "Debug Plugin",
28 "import_name": "DEBUG", 28 C.PI_IMPORT_NAME: "DEBUG",
29 "type": "Misc", 29 C.PI_TYPE: "Misc",
30 "protocols": [], 30 C.PI_PROTOCOLS: [],
31 "dependencies": [], 31 C.PI_DEPENDENCIES: [],
32 "main": "Debug", 32 C.PI_MAIN: "Debug",
33 "handler": "no", 33 C.PI_HANDLER: "no",
34 "description": _("""Set of method to make development and debugging easier""") 34 C.PI_DESCRIPTION: _("""Set of method to make development and debugging easier""")
35 } 35 }
36 36
37 37
38 class Debug(object): 38 class Debug(object):
39 39