diff options
author | Sushil Kumar <sushil.kumar3@hp.com> | 2015-05-20 19:53:12 +0000 |
---|---|---|
committer | Sushil Kumar <sushil.kumar3@hp.com> | 2015-05-29 07:27:59 +0000 |
commit | 843bb0cd53f6cc3caa9beeb8f07a374943d01889 (patch) | |
tree | 1d3669e320affdd4f59cd88c404ef420b1e0cfd4 /trove/common/wsgi.py | |
parent | 0f3d24254811906810552217cf05ed9409f415fc (diff) | |
download | trove-843bb0cd53f6cc3caa9beeb8f07a374943d01889.tar.gz |
Fixes hacking rules
This patchset helps reducing the ignored pep8 errors.
Fixed some ignored hacking rules, as listed follows:
- E111 indentation is not a multiple of four
- E122 continuation line missing indentation or outdented
- E123 closing bracket does not match indentation of opening bracket's line
- E128 continuation line under-indented for visual indent
- E251 unexpected spaces around keyword / parameter equals
- E265 block comment should start with '# '
- E713 test for membership should be 'not in'
- H105 Don't use author tags
- H306 imports not in alphabetical order
Change-Id: Iadf2af4f6ec90420153ad63b5a41650392ef2cbd
Diffstat (limited to 'trove/common/wsgi.py')
-rw-r--r-- | trove/common/wsgi.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/trove/common/wsgi.py b/trove/common/wsgi.py index 87252529..cd1d4200 100644 --- a/trove/common/wsgi.py +++ b/trove/common/wsgi.py @@ -14,29 +14,29 @@ # under the License. """Wsgi helper utilities for trove""" -import eventlet.wsgi import math -import jsonschema -import paste.urlmap import re import time import traceback import uuid + +import eventlet.wsgi +import jsonschema +from oslo_serialization import jsonutils +import paste.urlmap import webob import webob.dec import webob.exc +from trove.common import base_wsgi +from trove.common import cfg from trove.common import context as rd_context from trove.common import exception -from trove.common import utils from trove.common.i18n import _ -from oslo_serialization import jsonutils - +from trove.common import utils +from trove.openstack.common import log as logging from trove.openstack.common import pastedeploy from trove.openstack.common import service -from trove.common import base_wsgi -from trove.openstack.common import log as logging -from trove.common import cfg CONTEXT_KEY = 'trove.context' Router = base_wsgi.Router |