comparison src/plugins/plugin_blog_import.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 70f23bc7859b
children cdaa58e14553
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
33 import urlparse 33 import urlparse
34 import uuid 34 import uuid
35 35
36 36
37 PLUGIN_INFO = { 37 PLUGIN_INFO = {
38 "name": "blog import", 38 C.PI_NAME: "blog import",
39 "import_name": "BLOG_IMPORT", 39 C.PI_IMPORT_NAME: "BLOG_IMPORT",
40 "type": C.PLUG_TYPE_BLOG, 40 C.PI_TYPE: C.PLUG_TYPE_BLOG,
41 "dependencies": ["XEP-0060", "XEP-0277", "TEXT-SYNTAXES", "UPLOAD"], 41 C.PI_DEPENDENCIES: ["XEP-0060", "XEP-0277", "TEXT-SYNTAXES", "UPLOAD"],
42 "main": "BlogImportPlugin", 42 C.PI_MAIN: "BlogImportPlugin",
43 "handler": "no", 43 C.PI_HANDLER: "no",
44 "description": _(u"""Blog import management: 44 C.PI_DESCRIPTION: _(u"""Blog import management:
45 This plugin manage the different blog importers which can register to it, and handler generic importing tasks.""") 45 This plugin manage the different blog importers which can register to it, and handler generic importing tasks.""")
46 } 46 }
47 47
48 OPT_HOST = 'host' 48 OPT_HOST = 'host'
49 OPT_UPLOAD_IMAGES = 'upload_images' 49 OPT_UPLOAD_IMAGES = 'upload_images'