mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 14:35:11 +00:00
Use power of LazyInitialise to murder TFW/TAOENV global state
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
# Copyright (C) 2018 Avatao.com Innovative Learning Kft.
|
||||
# All Rights Reserved. See LICENSE file for details.
|
||||
|
||||
from envvars import prefixed_envvars_to_namedtuple
|
||||
from envvars import LazyEnvironment
|
||||
|
||||
TFWENV = prefixed_envvars_to_namedtuple('TFW_', 'tfwenvtuple')
|
||||
TFWENV = LazyEnvironment('TFW_', 'tfwenvtuple').environment
|
||||
|
Reference in New Issue
Block a user