mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[mod] remove one global
This commit is contained in:
parent
e0a50487ec
commit
e6cffbc3e2
1 changed files with 3 additions and 1 deletions
|
@ -58,8 +58,10 @@ def init(logging_config=None, **kwargs):
|
||||||
|
|
||||||
configure_logging(logging_config)
|
configure_logging(logging_config)
|
||||||
|
|
||||||
|
pkg = Package(**kwargs)
|
||||||
|
|
||||||
# Define and instantiate global objects
|
# Define and instantiate global objects
|
||||||
__builtin__.__dict__['pkg'] = Package(**kwargs)
|
__builtin__.__dict__['pkg'] = pkg
|
||||||
__builtin__.__dict__['m18n'] = Moulinette18n(pkg)
|
__builtin__.__dict__['m18n'] = Moulinette18n(pkg)
|
||||||
__builtin__.__dict__['msignals'] = MoulinetteSignals()
|
__builtin__.__dict__['msignals'] = MoulinetteSignals()
|
||||||
__builtin__.__dict__['msettings'] = dict()
|
__builtin__.__dict__['msettings'] = dict()
|
||||||
|
|
Loading…
Add table
Reference in a new issue