
This patches removes unnecessary utf-8 encoding Change-Id: Ic4c35e70df0a1f3714c9a144c4b7fed9cd893aa2
19 lines
368 B
Python
19 lines
368 B
Python
"""
|
|
lodgeit.utils
|
|
~~~~~~~~~~~~~
|
|
|
|
Serveral utilities used by LodgeIt.
|
|
|
|
:copyright: 2008 by Christopher Grebs.
|
|
:license: BSD
|
|
"""
|
|
from werkzeug import Local, LocalManager, LocalProxy
|
|
|
|
#: context locals
|
|
ctx = Local()
|
|
_local_manager = LocalManager(ctx)
|
|
|
|
#: local objects
|
|
request = LocalProxy(ctx, 'request')
|
|
application = LocalProxy(ctx, 'application')
|