Refactor kuryr/__init__.py not to use objects but modules.
Change-Id: Id36728a54364eede62ae9b57d736a74b6152a94a Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
This commit is contained in:
parent
6c312aab2f
commit
53e6df1594
@ -13,9 +13,9 @@
|
||||
import logging
|
||||
import sys
|
||||
|
||||
from kuryr.utils import make_json_app
|
||||
from kuryr import utils
|
||||
|
||||
app = make_json_app(__name__)
|
||||
app = utils.make_json_app(__name__)
|
||||
app.logger.addHandler(logging.StreamHandler(sys.stdout))
|
||||
app.logger.setLevel(logging.INFO)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user