comparison sat/plugins/plugin_misc_debug.py @ 3126:2b0f739f8a46

plugin manhole: added "C" to namespace
author Goffi <goffi@goffi.org>
date Sun, 26 Jan 2020 18:08:10 +0100
parents ab2696e34d29
children 524856bd7b19
comparison
equal deleted inserted replaced
3125:c3ce8c997fdf 3126:2b0f739f8a46
1 #!/usr/bin/env python3 1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 2
4 # SàT plugin for managing raw XML log 3 # SàT plugin for managing raw XML log
5 # Copyright (C) 2009-2016 Jérôme Poisson (goffi@goffi.org) 4 # Copyright (C) 2009-2016 Jérôme Poisson (goffi@goffi.org)
6 5
7 # This program is free software: you can redistribute it and/or modify 6 # This program is free software: you can redistribute it and/or modify
15 # GNU Affero General Public License for more details. 14 # GNU Affero General Public License for more details.
16 15
17 # You should have received a copy of the GNU Affero General Public License 16 # You should have received a copy of the GNU Affero General Public License
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. 17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
19 18
19 import json
20 from sat.core.i18n import _ 20 from sat.core.i18n import _
21 from sat.core.log import getLogger 21 from sat.core.log import getLogger
22 from sat.core.constants import Const as C
23
22 24
23 log = getLogger(__name__) 25 log = getLogger(__name__)
24 from sat.core.constants import Const as C
25 import json
26 26
27 PLUGIN_INFO = { 27 PLUGIN_INFO = {
28 C.PI_NAME: "Debug Plugin", 28 C.PI_NAME: "Debug Plugin",
29 C.PI_IMPORT_NAME: "DEBUG", 29 C.PI_IMPORT_NAME: "DEBUG",
30 C.PI_TYPE: "Misc", 30 C.PI_TYPE: "Misc",