comparison src/plugins/plugin_misc_maildir.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
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
30 from sat.core.exceptions import ProfileUnknownError 30 from sat.core.exceptions import ProfileUnknownError
31 from sat.memory.persistent import PersistentBinaryDict 31 from sat.memory.persistent import PersistentBinaryDict
32 32
33 33
34 PLUGIN_INFO = { 34 PLUGIN_INFO = {
35 "name": "Maildir Plugin", 35 C.PI_NAME: "Maildir Plugin",
36 "import_name": "Maildir", 36 C.PI_IMPORT_NAME: "Maildir",
37 "type": "Misc", 37 C.PI_TYPE: "Misc",
38 "protocols": [], 38 C.PI_PROTOCOLS: [],
39 "dependencies": [], 39 C.PI_DEPENDENCIES: [],
40 "main": "MaildirBox", 40 C.PI_MAIN: "MaildirBox",
41 "handler": "no", 41 C.PI_HANDLER: "no",
42 "description": _("""Intercept "normal" type messages, and put them in a Maildir type box""") 42 C.PI_DESCRIPTION: _("""Intercept "normal" type messages, and put them in a Maildir type box""")
43 } 43 }
44 44
45 MAILDIR_PATH = "Maildir" 45 MAILDIR_PATH = "Maildir"
46 CATEGORY = D_("Mail Server") 46 CATEGORY = D_("Mail Server")
47 NAME = D_('Block "normal" messages propagation') 47 NAME = D_('Block "normal" messages propagation')