Skip to content

Commit

Permalink
Merge "Remove future imports"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed May 5, 2020
2 parents dddc0dc + 1515a22 commit 8461c9c
Show file tree
Hide file tree
Showing 18 changed files with 0 additions and 35 deletions.
2 changes: 0 additions & 2 deletions nova/cmd/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
Common functions used by different CLI interfaces.
"""

from __future__ import print_function

import argparse
import traceback

Expand Down
2 changes: 0 additions & 2 deletions nova/cmd/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
CLI interface for nova management.
"""

from __future__ import print_function

import collections
import functools
import re
Expand Down
2 changes: 0 additions & 2 deletions nova/cmd/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
CLI interface for nova status commands.
"""

from __future__ import print_function

import collections
import functools
import sys
Expand Down
2 changes: 0 additions & 2 deletions nova/crypto.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
Includes root and intermediate CAs, SSH key_pairs and x509 certificates.
"""

from __future__ import absolute_import

import base64
import binascii
import os
Expand Down
2 changes: 0 additions & 2 deletions nova/image/glance.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@

"""Implementation of an image service that uses Glance as the backend."""

from __future__ import absolute_import

import copy
import inspect
import itertools
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
# under the License.

"""Fixtures for Nova tests."""
from __future__ import absolute_import

import collections
from contextlib import contextmanager
import copy
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/functional/api_paste_fixture.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
# 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 __future__ import absolute_import

import os

import fixtures
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/functional/fixtures.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
# License for the specific language governing permissions and limitations
# under the License.
"""Fixtures solely for functional tests."""
from __future__ import absolute_import

import fixtures
from keystoneauth1 import adapter as ka
from keystoneauth1 import session as ks
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/functional/test_compute_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import

import fixtures
import mock

Expand Down
2 changes: 0 additions & 2 deletions nova/tests/functional/test_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# 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 __future__ import absolute_import

import fixtures
import jsonschema
import os
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/functional/test_nova_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
# 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 __future__ import absolute_import

import collections
import mock

Expand Down
2 changes: 0 additions & 2 deletions nova/tests/functional/test_servers.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# 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 __future__ import absolute_import

import collections
import copy
import datetime
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/unit/virt/powervm/disk/test_ssp.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import

import fixtures
import mock
from oslo_utils import uuidutils
Expand Down
1 change: 0 additions & 1 deletion nova/tests/unit/virt/powervm/test_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import
import contextlib

import fixtures
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/unit/virt/powervm/test_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import

import fixtures
import mock
from oslo_utils.fixture import uuidsentinel
Expand Down
2 changes: 0 additions & 2 deletions nova/tests/unit/virt/powervm/test_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.

from __future__ import absolute_import

import fixtures
import mock
from pypowervm import exceptions as pvm_exc
Expand Down
2 changes: 0 additions & 2 deletions nova/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

"""Utility methods for working with WSGI servers."""

from __future__ import print_function

import os.path
import socket
import ssl
Expand Down
2 changes: 0 additions & 2 deletions tools/db/schema_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
"""

from __future__ import print_function

import datetime
import glob
import os
Expand Down

0 comments on commit 8461c9c

Please sign in to comment.