Ajust imports order according to hacking rule
Group imports and add missing blank lines. http://docs.openstack.org/developer/hacking/#imports Change-Id: I3cebb16a2113568610c79706b171930c7f990235
This commit is contained in:
@@ -12,12 +12,14 @@
|
||||
# implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import urllib
|
||||
|
||||
import flask
|
||||
|
||||
from stackalytics.openstack.common import log as logging
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@@ -13,9 +13,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import json
|
||||
|
||||
import datetime
|
||||
import json
|
||||
import operator
|
||||
import time
|
||||
|
||||
|
@@ -23,6 +23,7 @@ from stackalytics.openstack.common import log as logging
|
||||
from stackalytics.processor import runtime_storage
|
||||
from stackalytics.processor import utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@@ -15,12 +15,12 @@
|
||||
|
||||
import operator
|
||||
import os
|
||||
import re
|
||||
import time
|
||||
|
||||
import flask
|
||||
from flask.ext import gravatar as gravatar_ext
|
||||
from oslo.config import cfg
|
||||
import re
|
||||
|
||||
from dashboard import decorators
|
||||
from dashboard import helpers
|
||||
|
@@ -15,6 +15,7 @@
|
||||
|
||||
from oslo.config import cfg
|
||||
|
||||
|
||||
OPTS = [
|
||||
cfg.StrOpt('default-data-uri',
|
||||
default='file:///usr/local/etc/default_data.json',
|
||||
|
@@ -19,6 +19,7 @@ import urlparse
|
||||
from stackalytics.openstack.common import log as logging
|
||||
from stackalytics.processor import utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@@ -13,12 +13,11 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from email import utils as email_utils
|
||||
import gzip
|
||||
import httplib
|
||||
import StringIO
|
||||
|
||||
from email import utils as email_utils
|
||||
import re
|
||||
import StringIO
|
||||
import urlparse
|
||||
|
||||
from stackalytics.openstack.common import log as logging
|
||||
|
@@ -16,6 +16,7 @@
|
||||
from stackalytics.openstack.common import log as logging
|
||||
from stackalytics.processor import utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@@ -20,6 +20,7 @@ from stackalytics.openstack.common import log as logging
|
||||
from stackalytics.processor import launchpad_utils
|
||||
from stackalytics.processor import utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
|
@@ -20,6 +20,7 @@ import memcache
|
||||
from stackalytics.openstack.common import log as logging
|
||||
from stackalytics.processor import utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
BULK_READ_SIZE = 64
|
||||
|
@@ -15,12 +15,13 @@
|
||||
|
||||
import cgi
|
||||
import datetime
|
||||
import iso8601
|
||||
import json
|
||||
import re
|
||||
import time
|
||||
import urllib
|
||||
|
||||
import iso8601
|
||||
|
||||
from stackalytics.openstack.common import log as logging
|
||||
|
||||
|
||||
|
@@ -13,7 +13,6 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
|
@@ -15,9 +15,10 @@
|
||||
|
||||
import contextlib
|
||||
import itertools
|
||||
import uuid
|
||||
|
||||
import mock
|
||||
import testtools
|
||||
import uuid
|
||||
|
||||
from dashboard import web
|
||||
from stackalytics.processor import runtime_storage
|
||||
|
@@ -14,6 +14,7 @@
|
||||
# limitations under the License.
|
||||
|
||||
import copy
|
||||
|
||||
import mock
|
||||
import testtools
|
||||
|
||||
|
Reference in New Issue
Block a user