From: Zhongyue Luo Date: Mon, 3 Dec 2012 02:06:23 +0000 (+0800) Subject: Fixes import order nits X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=d06b51175ca9652ed1023bb6b447e0f8234ab65a;p=openstack-build%2Fneutron-build.git Fixes import order nits Change-Id: I8bcfbcbc0d97a96a9c05d29510d3017b8a054cec --- diff --git a/quantum/common/rpc.py b/quantum/common/rpc.py index dd431b781..01e3ee80c 100644 --- a/quantum/common/rpc.py +++ b/quantum/common/rpc.py @@ -1,21 +1,23 @@ -# Copyright (c) 2012 OpenStack, LLC. +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (c) 2012 OpenStack LLC. +# All Rights Reserved. # -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or -# implied. -# See the License for the specific language governing permissions and -# limitations under the License. +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +from quantum import context from quantum.openstack.common import log as logging from quantum.openstack.common.rpc import dispatcher -from quantum import context LOG = logging.getLogger(__name__) diff --git a/quantum/plugins/cisco/tests/unit/v2/test_api_v2.py b/quantum/plugins/cisco/tests/unit/v2/test_api_v2.py index 5fe091542..289fd2306 100644 --- a/quantum/plugins/cisco/tests/unit/v2/test_api_v2.py +++ b/quantum/plugins/cisco/tests/unit/v2/test_api_v2.py @@ -1,16 +1,19 @@ -# Copyright 2012 OpenStack LLC. +# vim: tabstop=4 shiftwidth=4 softtabstop=4 + +# Copyright (c) 2012 OpenStack LLC. # All Rights Reserved. # -# Licensed under the Apache License, Version 2.0 (the "License"); you may -# not use this file except in compliance with the License. You may obtain -# a copy of the License at +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at # -# http://www.apache.org/licenses/LICENSE-2.0 +# http://www.apache.org/licenses/LICENSE-2.0 # -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -# License for the spec +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. import inspect import logging @@ -18,9 +21,9 @@ import mock import os import webtest +from quantum.api.extensions import PluginAwareExtensionManager from quantum.api.v2 import router from quantum.common import config -from quantum.api.extensions import PluginAwareExtensionManager from quantum.manager import QuantumManager from quantum.openstack.common import cfg from quantum.tests.unit import test_api_v2