From 296d48074de770c91386bb36f701fdbd7c0b5c98 Mon Sep 17 00:00:00 2001 From: liaozd Date: Sun, 12 Feb 2017 17:58:11 +0800 Subject: [PATCH] clean unused imports Change-Id: I9db0bbe3d24fb04e647fcfca1a3a746df006f85c --- horizon/management/commands/startpanel.py | 1 - openstack_dashboard/dashboards/admin/instances/tests.py | 1 - openstack_dashboard/dashboards/project/network_topology/tests.py | 1 - openstack_dashboard/dashboards/project/volumes/backups/tables.py | 1 - openstack_dashboard/dashboards/settings/user/forms.py | 1 - openstack_dashboard/usage/tables.py | 1 - 6 files changed, 6 deletions(-) diff --git a/horizon/management/commands/startpanel.py b/horizon/management/commands/startpanel.py index a2ebe915e2..6c378096a1 100644 --- a/horizon/management/commands/startpanel.py +++ b/horizon/management/commands/startpanel.py @@ -11,7 +11,6 @@ # under the License. import glob -from optparse import make_option # noqa import os from django.core.management.base import CommandError # noqa diff --git a/openstack_dashboard/dashboards/admin/instances/tests.py b/openstack_dashboard/dashboards/admin/instances/tests.py index fda9d69cdb..54bd84b62f 100644 --- a/openstack_dashboard/dashboards/admin/instances/tests.py +++ b/openstack_dashboard/dashboards/admin/instances/tests.py @@ -18,7 +18,6 @@ import uuid from django.core.urlresolvers import reverse from django import http -from mox3.mox import IgnoreArg # noqa from mox3.mox import IsA # noqa from openstack_dashboard import api diff --git a/openstack_dashboard/dashboards/project/network_topology/tests.py b/openstack_dashboard/dashboards/project/network_topology/tests.py index a41956a084..c1d115efc1 100644 --- a/openstack_dashboard/dashboards/project/network_topology/tests.py +++ b/openstack_dashboard/dashboards/project/network_topology/tests.py @@ -16,7 +16,6 @@ from django.core.urlresolvers import reverse from django import http import django.test -from mox3.mox import IgnoreArg # noqa from mox3.mox import IsA # noqa from oslo_serialization import jsonutils diff --git a/openstack_dashboard/dashboards/project/volumes/backups/tables.py b/openstack_dashboard/dashboards/project/volumes/backups/tables.py index 8610a2b7aa..d982baa90c 100644 --- a/openstack_dashboard/dashboards/project/volumes/backups/tables.py +++ b/openstack_dashboard/dashboards/project/volumes/backups/tables.py @@ -11,7 +11,6 @@ # under the License. from django.core.urlresolvers import reverse -from django.template.defaultfilters import title # noqa from django.utils import html from django.utils import http from django.utils import safestring diff --git a/openstack_dashboard/dashboards/settings/user/forms.py b/openstack_dashboard/dashboards/settings/user/forms.py index 9119cefbe5..e26f735640 100644 --- a/openstack_dashboard/dashboards/settings/user/forms.py +++ b/openstack_dashboard/dashboards/settings/user/forms.py @@ -13,7 +13,6 @@ # under the License. from datetime import datetime # noqa -from datetime import timedelta # noqa import string import babel diff --git a/openstack_dashboard/usage/tables.py b/openstack_dashboard/usage/tables.py index 88e2cc22d4..796455ddaa 100644 --- a/openstack_dashboard/usage/tables.py +++ b/openstack_dashboard/usage/tables.py @@ -12,7 +12,6 @@ from django.core import urlresolvers from django.template.defaultfilters import floatformat # noqa -from django.template.defaultfilters import timesince # noqa from django.utils.translation import ugettext_lazy as _ from horizon import tables