diff options
20 files changed, 0 insertions, 42 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py index eca1a2316..623caae51 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -22,8 +22,6 @@ # All configuration values have a default; values that are commented out # serve to show the default. -from __future__ import print_function - import logging import os import sys diff --git a/horizon/templatetags/bootstrap.py b/horizon/templatetags/bootstrap.py index e4a0148ac..defc675bf 100644 --- a/horizon/templatetags/bootstrap.py +++ b/horizon/templatetags/bootstrap.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - from django import template diff --git a/horizon/templatetags/horizon.py b/horizon/templatetags/horizon.py index 6b5499e1e..34f7a327f 100644 --- a/horizon/templatetags/horizon.py +++ b/horizon/templatetags/horizon.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - from collections import OrderedDict from django.conf import settings diff --git a/horizon/utils/csvbase.py b/horizon/utils/csvbase.py index 4cc095321..b5c5627e1 100644 --- a/horizon/utils/csvbase.py +++ b/horizon/utils/csvbase.py @@ -10,8 +10,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import division - import csv import io diff --git a/openstack_dashboard/api/cinder.py b/openstack_dashboard/api/cinder.py index 203211444..a5e40a232 100644 --- a/openstack_dashboard/api/cinder.py +++ b/openstack_dashboard/api/cinder.py @@ -18,8 +18,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - import logging import math diff --git a/openstack_dashboard/api/glance.py b/openstack_dashboard/api/glance.py index f5b53e716..db836cf81 100644 --- a/openstack_dashboard/api/glance.py +++ b/openstack_dashboard/api/glance.py @@ -16,9 +16,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import -from __future__ import division - import _thread as thread import collections from collections import abc diff --git a/openstack_dashboard/api/neutron.py b/openstack_dashboard/api/neutron.py index a5a4a27e7..7bd3e29fb 100644 --- a/openstack_dashboard/api/neutron.py +++ b/openstack_dashboard/api/neutron.py @@ -17,8 +17,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - import collections from collections.abc import Sequence import copy diff --git a/openstack_dashboard/api/nova.py b/openstack_dashboard/api/nova.py index 9a9370b41..31c48b3b5 100644 --- a/openstack_dashboard/api/nova.py +++ b/openstack_dashboard/api/nova.py @@ -18,8 +18,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - import collections import logging from operator import attrgetter diff --git a/openstack_dashboard/management/commands/make_web_conf.py b/openstack_dashboard/management/commands/make_web_conf.py index d644fb65d..35000724a 100644 --- a/openstack_dashboard/management/commands/make_web_conf.py +++ b/openstack_dashboard/management/commands/make_web_conf.py @@ -10,8 +10,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import print_function - import multiprocessing import os import re diff --git a/openstack_dashboard/management/commands/migrate_settings.py b/openstack_dashboard/management/commands/migrate_settings.py index 3a4fd4cdb..fb77a9042 100644 --- a/openstack_dashboard/management/commands/migrate_settings.py +++ b/openstack_dashboard/management/commands/migrate_settings.py @@ -10,8 +10,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import print_function - import difflib import imp import os diff --git a/openstack_dashboard/management/commands/upgrade_check.py b/openstack_dashboard/management/commands/upgrade_check.py index 2ab5731eb..d1af7b70c 100644 --- a/openstack_dashboard/management/commands/upgrade_check.py +++ b/openstack_dashboard/management/commands/upgrade_check.py @@ -10,9 +10,6 @@ # License for the specific language governing permissions and limitations # under the License. - -from __future__ import print_function - import json import sys diff --git a/openstack_dashboard/templatetags/context_selection.py b/openstack_dashboard/templatetags/context_selection.py index da63c29cd..265a40976 100644 --- a/openstack_dashboard/templatetags/context_selection.py +++ b/openstack_dashboard/templatetags/context_selection.py @@ -12,8 +12,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - from django.conf import settings from django import template diff --git a/openstack_dashboard/templatetags/themes.py b/openstack_dashboard/templatetags/themes.py index 30ab7fba7..6e948544c 100644 --- a/openstack_dashboard/templatetags/themes.py +++ b/openstack_dashboard/templatetags/themes.py @@ -13,8 +13,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - import os from urllib.request import pathname2url diff --git a/openstack_dashboard/test/unit/api/test_base.py b/openstack_dashboard/test/unit/api/test_base.py index 3a3fc6763..b3ba74d58 100644 --- a/openstack_dashboard/test/unit/api/test_base.py +++ b/openstack_dashboard/test/unit/api/test_base.py @@ -16,8 +16,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - from django.conf import settings from horizon import exceptions diff --git a/openstack_dashboard/test/unit/api/test_keystone.py b/openstack_dashboard/test/unit/api/test_keystone.py index 07e5702f7..d5ae1cc14 100644 --- a/openstack_dashboard/test/unit/api/test_keystone.py +++ b/openstack_dashboard/test/unit/api/test_keystone.py @@ -15,8 +15,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 from unittest import mock diff --git a/openstack_dashboard/test/unit/api/test_nova.py b/openstack_dashboard/test/unit/api/test_nova.py index 478a6bbab..f20f2f6ff 100644 --- a/openstack_dashboard/test/unit/api/test_nova.py +++ b/openstack_dashboard/test/unit/api/test_nova.py @@ -16,8 +16,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 from unittest import mock from django.conf import settings diff --git a/openstack_dashboard/test/unit/api/test_swift.py b/openstack_dashboard/test/unit/api/test_swift.py index a91e0249a..5645db3fa 100644 --- a/openstack_dashboard/test/unit/api/test_swift.py +++ b/openstack_dashboard/test/unit/api/test_swift.py @@ -15,8 +15,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 from unittest import mock from horizon import exceptions diff --git a/openstack_dashboard/test/unit/usage/test_quotas.py b/openstack_dashboard/test/unit/usage/test_quotas.py index 9d247a341..382bf0841 100644 --- a/openstack_dashboard/test/unit/usage/test_quotas.py +++ b/openstack_dashboard/test/unit/usage/test_quotas.py @@ -17,8 +17,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import absolute_import - import collections from unittest import mock diff --git a/openstack_dashboard/usage/base.py b/openstack_dashboard/usage/base.py index 6674b6e9c..02b8a1c19 100644 --- a/openstack_dashboard/usage/base.py +++ b/openstack_dashboard/usage/base.py @@ -10,8 +10,6 @@ # License for the specific language governing permissions and limitations # under the License. -from __future__ import division - import datetime from django.conf import settings diff --git a/tools/policy-diff.py b/tools/policy-diff.py index 5ace2b61f..3db39114f 100644 --- a/tools/policy-diff.py +++ b/tools/policy-diff.py @@ -12,8 +12,6 @@ """Tool to check policy file differeneces.""" -from __future__ import print_function - import argparse import yaml |