~ubuntu-branches/ubuntu/vivid/ceilometer/vivid

« back to all changes in this revision

Viewing changes to ceilometer/api/v1/app.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2014-03-06 14:44:28 UTC
  • mto: (28.1.1 utopic-proposed) (1.2.1)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: package-import@ubuntu.com-20140306144428-rvphsh4igwyulzf0
Tags: upstream-2014.1~b3
ImportĀ upstreamĀ versionĀ 2014.1~b3

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
    if attach_storage:
54
54
        @app.before_request
55
55
        def attach_storage():
56
 
            storage_engine = storage.get_engine(conf)
57
 
            flask.request.storage_engine = storage_engine
58
56
            flask.request.storage_conn = \
59
 
                storage_engine.get_connection(conf)
 
57
                storage.get_connection(conf)
60
58
 
61
59
    # Install the middleware wrapper
62
60
    if enable_acl: