comparison src/plugins/plugin_misc_static_blog.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 0d6c53e6c591
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
28 from twisted.internet import defer 28 from twisted.internet import defer
29 from twisted.words.protocols.jabber import jid 29 from twisted.words.protocols.jabber import jid
30 30
31 31
32 PLUGIN_INFO = { 32 PLUGIN_INFO = {
33 "name": "Static Blog Plugin", 33 C.PI_NAME: "Static Blog Plugin",
34 "import_name": "STATIC-BLOG", 34 C.PI_IMPORT_NAME: "STATIC-BLOG",
35 "type": "MISC", 35 C.PI_TYPE: "MISC",
36 "protocols": [], 36 C.PI_PROTOCOLS: [],
37 "dependencies": [], 37 C.PI_DEPENDENCIES: [],
38 "recommendations": ['MISC-ACCOUNT'], # TODO: remove when all blogs can be retrieved 38 C.PI_RECOMMENDATIONS: ['MISC-ACCOUNT'], # TODO: remove when all blogs can be retrieved
39 "main": "StaticBlog", 39 C.PI_MAIN: "StaticBlog",
40 "handler": "no", 40 C.PI_HANDLER: "no",
41 "description": _("""Plugin for static blogs""") 41 C.PI_DESCRIPTION: _("""Plugin for static blogs""")
42 } 42 }
43 43
44 44
45 class StaticBlog(object): 45 class StaticBlog(object):
46 46