mirror of
https://github.com/yweber/lodel2.git
synced 2025-10-30 11:09:03 +01:00
Replaced all lodel subthings import by LodelContext.expose_modules calls
Test passes
This commit is contained in:
parent
1257e49de6
commit
8085efeb99
26 changed files with 184 additions and 90 deletions
|
|
@ -1,8 +1,13 @@
|
|||
from .plugins import Plugin
|
||||
from .exceptions import *
|
||||
from lodel.settings.validator import SettingValidator
|
||||
from lodel.context import LodelContext
|
||||
LodelContext.expose_modules(globals(), {
|
||||
'lodel.plugin.plugins': ['Plugin'],
|
||||
'lodel.plugin.exceptions': ['PluginError', 'PluginTypeError',
|
||||
'LodelScriptError', 'DatasourcePluginError'],
|
||||
'lodel.settings.validator': ['SettingValidator']})
|
||||
|
||||
_glob_typename = 'extension'
|
||||
|
||||
|
||||
class Extension(Plugin):
|
||||
|
||||
_plist_confspecs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue