Changeset View
Changeset View
Standalone View
Standalone View
pykolab/__init__.py
Show First 20 Lines • Show All 46 Lines • ▼ Show 20 Lines | |||||
def getConf(): | def getConf(): | ||||
_data = threading.local() | _data = threading.local() | ||||
if hasattr(_data, 'conf'): | if hasattr(_data, 'conf'): | ||||
log.debug(_("Returning thread local configuration")) | log.debug(_("Returning thread local configuration")) | ||||
return _data.conf | return _data.conf | ||||
return conf | return conf | ||||
import base | from . import base | ||||