diff options
author | Dina Belova <dbelova@mirantis.com> | 2013-06-04 12:24:15 +0400 |
---|---|---|
committer | Dina Belova <dbelova@mirantis.com> | 2013-06-04 13:47:19 +0400 |
commit | 6d276814bf91b5406403191c76ea59f81a32f568 (patch) | |
tree | 43db24e233e33d25c4acdddf4d5345cd42a45473 /openstack | |
parent | e3e497915f0cc47bba10aad4ef5e940669801cb3 (diff) | |
download | oslo-6d276814bf91b5406403191c76ea59f81a32f568.tar.gz oslo-6d276814bf91b5406403191c76ea59f81a32f568.tar.xz oslo-6d276814bf91b5406403191c76ea59f81a32f568.zip |
Enable H306 hacking check.
H306 - imports not in alphabetical order.
Change-Id: Iaa93bcafed562833318ac86241ad36662c2d8ca6
Diffstat (limited to 'openstack')
-rw-r--r-- | openstack/common/db/sqlalchemy/session.py | 2 | ||||
-rw-r--r-- | openstack/common/policy.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/openstack/common/db/sqlalchemy/session.py b/openstack/common/db/sqlalchemy/session.py index fbc5c91..dbc0bc8 100644 --- a/openstack/common/db/sqlalchemy/session.py +++ b/openstack/common/db/sqlalchemy/session.py @@ -256,8 +256,8 @@ from sqlalchemy.pool import NullPool, StaticPool from sqlalchemy.sql.expression import literal_column from openstack.common.db import exception -from openstack.common import log as logging from openstack.common.gettextutils import _ +from openstack.common import log as logging from openstack.common import timeutils DEFAULT = 'DEFAULT' diff --git a/openstack/common/policy.py b/openstack/common/policy.py index 3669f9b..f3e62ba 100644 --- a/openstack/common/policy.py +++ b/openstack/common/policy.py @@ -59,13 +59,13 @@ as it allows particular rules to be explicitly disabled. import abc import re import urllib +import urllib2 from oslo.config import cfg import six -import urllib2 -from openstack.common.gettextutils import _ from openstack.common import fileutils +from openstack.common.gettextutils import _ from openstack.common import jsonutils from openstack.common import log as logging |