Remove future imports

These particular imports are no longer needed in a Python 3-only world.

Change-Id: Ia1b60ce238713b86f126e2d404199d102fdbc5bc
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane 2020-03-24 15:05:36 +00:00
parent fdcb1e306e
commit 1515a229e3
18 changed files with 0 additions and 35 deletions

View File

@ -17,8 +17,6 @@
Common functions used by different CLI interfaces.
"""
from __future__ import print_function
import argparse
import traceback

View File

@ -21,8 +21,6 @@
CLI interface for nova management.
"""
from __future__ import print_function
import collections
import functools
import re

View File

@ -16,8 +16,6 @@
CLI interface for nova status commands.
"""
from __future__ import print_function
import collections
import functools
import sys

View File

@ -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

View File

@ -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

View File

@ -15,8 +15,6 @@
# under the License.
"""Fixtures for Nova tests."""
from __future__ import absolute_import
import collections
from contextlib import contextmanager
import copy

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -17,8 +17,6 @@
"""Utility methods for working with WSGI servers."""
from __future__ import print_function
import os.path
import socket
import ssl

View File

@ -42,8 +42,6 @@ Run like:
"""
from __future__ import print_function
import datetime
import glob
import os