Skip to content

Commit 8461c9c

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Remove future imports"
2 parents dddc0dc + 1515a22 commit 8461c9c

18 files changed

+0
-35
lines changed

nova/cmd/common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
Common functions used by different CLI interfaces.
1818
"""
1919

20-
from __future__ import print_function
21-
2220
import argparse
2321
import traceback
2422

nova/cmd/manage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@
2121
CLI interface for nova management.
2222
"""
2323

24-
from __future__ import print_function
25-
2624
import collections
2725
import functools
2826
import re

nova/cmd/status.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
CLI interface for nova status commands.
1717
"""
1818

19-
from __future__ import print_function
20-
2119
import collections
2220
import functools
2321
import sys

nova/crypto.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@
1919
Includes root and intermediate CAs, SSH key_pairs and x509 certificates.
2020
"""
2121

22-
from __future__ import absolute_import
23-
2422
import base64
2523
import binascii
2624
import os

nova/image/glance.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

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

18-
from __future__ import absolute_import
19-
2018
import copy
2119
import inspect
2220
import itertools

nova/tests/fixtures.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515
# under the License.
1616

1717
"""Fixtures for Nova tests."""
18-
from __future__ import absolute_import
19-
2018
import collections
2119
from contextlib import contextmanager
2220
import copy

nova/tests/functional/api_paste_fixture.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
14-
from __future__ import absolute_import
15-
1614
import os
1715

1816
import fixtures

nova/tests/functional/fixtures.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
# License for the specific language governing permissions and limitations
1212
# under the License.
1313
"""Fixtures solely for functional tests."""
14-
from __future__ import absolute_import
15-
1614
import fixtures
1715
from keystoneauth1 import adapter as ka
1816
from keystoneauth1 import session as ks

nova/tests/functional/test_compute_mgr.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
from __future__ import absolute_import
14-
1513
import fixtures
1614
import mock
1715

nova/tests/functional/test_metadata.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1313
# License for the specific language governing permissions and limitations
1414
# under the License.
15-
from __future__ import absolute_import
16-
1715
import fixtures
1816
import jsonschema
1917
import os

nova/tests/functional/test_nova_manage.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
12-
from __future__ import absolute_import
13-
1412
import collections
1513
import mock
1614

nova/tests/functional/test_servers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
1313
# License for the specific language governing permissions and limitations
1414
# under the License.
15-
from __future__ import absolute_import
16-
1715
import collections
1816
import copy
1917
import datetime

nova/tests/unit/virt/powervm/disk/test_ssp.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
from __future__ import absolute_import
16-
1715
import fixtures
1816
import mock
1917
from oslo_utils import uuidutils

nova/tests/unit/virt/powervm/test_driver.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
from __future__ import absolute_import
1615
import contextlib
1716

1817
import fixtures

nova/tests/unit/virt/powervm/test_media.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
# License for the specific language governing permissions and limitations
1515
# under the License.
1616

17-
from __future__ import absolute_import
18-
1917
import fixtures
2018
import mock
2119
from oslo_utils.fixture import uuidsentinel

nova/tests/unit/virt/powervm/test_vm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# License for the specific language governing permissions and limitations
1313
# under the License.
1414

15-
from __future__ import absolute_import
16-
1715
import fixtures
1816
import mock
1917
from pypowervm import exceptions as pvm_exc

nova/wsgi.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717

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

20-
from __future__ import print_function
21-
2220
import os.path
2321
import socket
2422
import ssl

tools/db/schema_diff.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@
4242
4343
"""
4444

45-
from __future__ import print_function
46-
4745
import datetime
4846
import glob
4947
import os

0 commit comments

Comments
 (0)