comparison src/plugins/plugin_misc_watched.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 8b37a62336c3
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
24 from sat.core import exceptions 24 from sat.core import exceptions
25 from sat.tools import xml_tools 25 from sat.tools import xml_tools
26 26
27 27
28 PLUGIN_INFO = { 28 PLUGIN_INFO = {
29 "name": "Watched", 29 C.PI_NAME: "Watched",
30 "import_name": "WATCHED", 30 C.PI_IMPORT_NAME: "WATCHED",
31 "type": "Misc", 31 C.PI_TYPE: "Misc",
32 "protocols": [], 32 C.PI_PROTOCOLS: [],
33 "dependencies": [], 33 C.PI_DEPENDENCIES: [],
34 "main": "Watched", 34 C.PI_MAIN: "Watched",
35 "handler": "no", 35 C.PI_HANDLER: "no",
36 "description": _("""Watch for entities presence, and send notification accordingly""") 36 C.PI_DESCRIPTION: _("""Watch for entities presence, and send notification accordingly""")
37 } 37 }
38 38
39 39
40 CATEGORY = D_("Misc") 40 CATEGORY = D_("Misc")
41 NAME = "Watched" 41 NAME = "Watched"