summaryrefslogtreecommitdiff
path: root/openstack_dashboard/dashboards
diff options
context:
space:
mode:
Diffstat (limited to 'openstack_dashboard/dashboards')
-rw-r--r--openstack_dashboard/dashboards/admin/defaults/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/defaults/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/flavors/extras/forms.py4
-rw-r--r--openstack_dashboard/dashboards/admin/flavors/extras/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/flavors/extras/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/flavors/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/flavors/views.py4
-rw-r--r--openstack_dashboard/dashboards/admin/hypervisors/tables.py4
-rw-r--r--openstack_dashboard/dashboards/admin/hypervisors/views.py4
-rw-r--r--openstack_dashboard/dashboards/admin/images/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/info/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/info/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/instances/tables.py4
-rw-r--r--openstack_dashboard/dashboards/admin/instances/views.py4
-rw-r--r--openstack_dashboard/dashboards/admin/metering/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/metering/views.py3
-rw-r--r--openstack_dashboard/dashboards/admin/networks/ports/tabs.py5
-rw-r--r--openstack_dashboard/dashboards/admin/networks/ports/views.py4
-rw-r--r--openstack_dashboard/dashboards/admin/networks/subnets/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/networks/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/projects/tables.py4
-rw-r--r--openstack_dashboard/dashboards/admin/projects/views.py3
-rw-r--r--openstack_dashboard/dashboards/admin/roles/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/routers/ports/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/routers/ports/tabs.py3
-rw-r--r--openstack_dashboard/dashboards/admin/routers/ports/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/routers/tables.py5
-rw-r--r--openstack_dashboard/dashboards/admin/routers/views.py5
-rw-r--r--openstack_dashboard/dashboards/admin/users/tables.py3
-rw-r--r--openstack_dashboard/dashboards/project/access_and_security/keypairs/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/access_and_security/keypairs/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py5
-rw-r--r--openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/access_and_security/security_groups/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/containers/forms.py5
-rw-r--r--openstack_dashboard/dashboards/project/containers/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/database_backups/tables.py4
-rw-r--r--openstack_dashboard/dashboards/project/database_backups/views.py4
-rw-r--r--openstack_dashboard/dashboards/project/databases/tables.py4
-rw-r--r--openstack_dashboard/dashboards/project/firewalls/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/firewalls/views.py3
-rw-r--r--openstack_dashboard/dashboards/project/firewalls/workflows.py4
-rw-r--r--openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py6
-rw-r--r--openstack_dashboard/dashboards/project/images_and_snapshots/images/tables.py4
-rw-r--r--openstack_dashboard/dashboards/project/images_and_snapshots/images/views.py6
-rw-r--r--openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/forms.py5
-rw-r--r--openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/views.py6
-rw-r--r--openstack_dashboard/dashboards/project/images_and_snapshots/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/images_and_snapshots/volume_snapshots/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/instances/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/instances/workflows/resize_instance.py4
-rw-r--r--openstack_dashboard/dashboards/project/loadbalancers/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/loadbalancers/views.py4
-rw-r--r--openstack_dashboard/dashboards/project/loadbalancers/workflows.py5
-rw-r--r--openstack_dashboard/dashboards/project/network_topology/routers/tables.py2
-rw-r--r--openstack_dashboard/dashboards/project/networks/ports/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/networks/ports/tabs.py5
-rw-r--r--openstack_dashboard/dashboards/project/networks/subnets/tabs.py5
-rw-r--r--openstack_dashboard/dashboards/project/networks/subnets/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/networks/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/routers/ports/tabs.py3
-rw-r--r--openstack_dashboard/dashboards/project/routers/ports/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/routers/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/stacks/api.py4
-rw-r--r--openstack_dashboard/dashboards/project/stacks/tables.py4
-rw-r--r--openstack_dashboard/dashboards/project/volumes/tables.py4
-rw-r--r--openstack_dashboard/dashboards/project/volumes/views.py5
-rw-r--r--openstack_dashboard/dashboards/project/vpn/tables.py5
-rw-r--r--openstack_dashboard/dashboards/project/vpn/views.py4
-rw-r--r--openstack_dashboard/dashboards/project/vpn/workflows.py5
70 files changed, 0 insertions, 319 deletions
diff --git a/openstack_dashboard/dashboards/admin/defaults/tables.py b/openstack_dashboard/dashboards/admin/defaults/tables.py
index 991063193..7f67f2088 100644
--- a/openstack_dashboard/dashboards/admin/defaults/tables.py
+++ b/openstack_dashboard/dashboards/admin/defaults/tables.py
@@ -14,16 +14,11 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tables
-LOG = logging.getLogger(__name__)
-
-
class QuotaFilterAction(tables.FilterAction):
def filter(self, table, tenants, filter_string):
q = filter_string.lower()
diff --git a/openstack_dashboard/dashboards/admin/defaults/views.py b/openstack_dashboard/dashboards/admin/defaults/views.py
index 26b912570..03207c832 100644
--- a/openstack_dashboard/dashboards/admin/defaults/views.py
+++ b/openstack_dashboard/dashboards/admin/defaults/views.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tabs
@@ -27,9 +25,6 @@ from openstack_dashboard.dashboards.admin.defaults import workflows as \
from openstack_dashboard.usage import quotas
-LOG = logging.getLogger(__name__)
-
-
class IndexView(tabs.TabbedTableView):
tab_group_class = project_tabs.DefaultsTabs
template_name = 'admin/defaults/index.html'
diff --git a/openstack_dashboard/dashboards/admin/flavors/extras/forms.py b/openstack_dashboard/dashboards/admin/flavors/extras/forms.py
index b54731cef..3bf286fc8 100644
--- a/openstack_dashboard/dashboards/admin/flavors/extras/forms.py
+++ b/openstack_dashboard/dashboards/admin/flavors/extras/forms.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from openstack_dashboard import api
@@ -28,8 +26,6 @@ from horizon import exceptions
from horizon import forms
from horizon import messages
-LOG = logging.getLogger(__name__)
-
class CreateExtraSpec(forms.SelfHandlingForm):
key = forms.CharField(max_length="25", label=_("Key"))
diff --git a/openstack_dashboard/dashboards/admin/flavors/extras/tables.py b/openstack_dashboard/dashboards/admin/flavors/extras/tables.py
index dac0e4afe..88e47741a 100644
--- a/openstack_dashboard/dashboards/admin/flavors/extras/tables.py
+++ b/openstack_dashboard/dashboards/admin/flavors/extras/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -24,9 +22,6 @@ from horizon import tables
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class ExtraSpecDelete(tables.DeleteAction):
data_type_singular = _("ExtraSpec")
data_type_plural = _("ExtraSpecs")
diff --git a/openstack_dashboard/dashboards/admin/flavors/extras/views.py b/openstack_dashboard/dashboards/admin/flavors/extras/views.py
index ecbd78a23..90e86f2a4 100644
--- a/openstack_dashboard/dashboards/admin/flavors/extras/views.py
+++ b/openstack_dashboard/dashboards/admin/flavors/extras/views.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import exceptions
@@ -34,9 +32,6 @@ from openstack_dashboard.dashboards.admin.flavors.extras \
import tables as project_tables
-LOG = logging.getLogger(__name__)
-
-
class ExtraSpecMixin(object):
def get_context_data(self, **kwargs):
context = super(ExtraSpecMixin, self).get_context_data(**kwargs)
diff --git a/openstack_dashboard/dashboards/admin/flavors/tables.py b/openstack_dashboard/dashboards/admin/flavors/tables.py
index fa8f24eed..557ad5791 100644
--- a/openstack_dashboard/dashboards/admin/flavors/tables.py
+++ b/openstack_dashboard/dashboards/admin/flavors/tables.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.template import defaultfilters as filters
from django.utils.http import urlencode # noqa
@@ -30,9 +28,6 @@ from horizon import tables
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class DeleteFlavor(tables.DeleteAction):
data_type_singular = _("Flavor")
data_type_plural = _("Flavors")
diff --git a/openstack_dashboard/dashboards/admin/flavors/views.py b/openstack_dashboard/dashboards/admin/flavors/views.py
index defd87028..450352024 100644
--- a/openstack_dashboard/dashboards/admin/flavors/views.py
+++ b/openstack_dashboard/dashboards/admin/flavors/views.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -35,8 +33,6 @@ from openstack_dashboard.dashboards.admin.flavors \
import workflows as flavor_workflows
-LOG = logging.getLogger(__name__)
-
INDEX_URL = "horizon:admin:flavors:index"
diff --git a/openstack_dashboard/dashboards/admin/hypervisors/tables.py b/openstack_dashboard/dashboards/admin/hypervisors/tables.py
index 062d5f40f..bceed9760 100644
--- a/openstack_dashboard/dashboards/admin/hypervisors/tables.py
+++ b/openstack_dashboard/dashboards/admin/hypervisors/tables.py
@@ -14,15 +14,11 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tables
from horizon.templatetags import sizeformat
-LOG = logging.getLogger(__name__)
-
def get_memory(hypervisor):
return sizeformat.mbformat(hypervisor.memory_mb)
diff --git a/openstack_dashboard/dashboards/admin/hypervisors/views.py b/openstack_dashboard/dashboards/admin/hypervisors/views.py
index c4c0bb15f..7cd9e2f13 100644
--- a/openstack_dashboard/dashboards/admin/hypervisors/views.py
+++ b/openstack_dashboard/dashboards/admin/hypervisors/views.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import exceptions
@@ -24,8 +22,6 @@ from openstack_dashboard import api
from openstack_dashboard.dashboards.admin.hypervisors \
import tables as project_tables
-LOG = logging.getLogger(__name__)
-
class AdminIndexView(tables.DataTableView):
table_class = project_tables.AdminHypervisorsTable
diff --git a/openstack_dashboard/dashboards/admin/images/views.py b/openstack_dashboard/dashboards/admin/images/views.py
index 3b16b45c3..41b302434 100644
--- a/openstack_dashboard/dashboards/admin/images/views.py
+++ b/openstack_dashboard/dashboards/admin/images/views.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -35,9 +33,6 @@ from openstack_dashboard.dashboards.admin.images \
import tables as project_tables
-LOG = logging.getLogger(__name__)
-
-
class IndexView(tables.DataTableView):
table_class = project_tables.AdminImagesTable
template_name = 'admin/images/index.html'
diff --git a/openstack_dashboard/dashboards/admin/info/tables.py b/openstack_dashboard/dashboards/admin/info/tables.py
index f951086a7..d4f3fe74e 100644
--- a/openstack_dashboard/dashboards/admin/info/tables.py
+++ b/openstack_dashboard/dashboards/admin/info/tables.py
@@ -1,5 +1,3 @@
-import logging
-
from django import template
from django.template import defaultfilters as filters
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -8,9 +6,6 @@ from horizon import tables
from horizon.utils import filters as utils_filters
-LOG = logging.getLogger(__name__)
-
-
class ServiceFilterAction(tables.FilterAction):
def filter(self, table, services, filter_string):
q = filter_string.lower()
diff --git a/openstack_dashboard/dashboards/admin/info/views.py b/openstack_dashboard/dashboards/admin/info/views.py
index 58ec8ca6e..fca4f27a4 100644
--- a/openstack_dashboard/dashboards/admin/info/views.py
+++ b/openstack_dashboard/dashboards/admin/info/views.py
@@ -18,16 +18,11 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from horizon import tabs
from openstack_dashboard.dashboards.admin.info import tabs as project_tabs
-LOG = logging.getLogger(__name__)
-
-
class IndexView(tabs.TabbedTableView):
tab_group_class = project_tabs.SystemInfoTabs
template_name = 'admin/info/index.html'
diff --git a/openstack_dashboard/dashboards/admin/instances/tables.py b/openstack_dashboard/dashboards/admin/instances/tables.py
index 1b9676ff8..01a862c38 100644
--- a/openstack_dashboard/dashboards/admin/instances/tables.py
+++ b/openstack_dashboard/dashboards/admin/instances/tables.py
@@ -15,8 +15,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.template.defaultfilters import timesince # noqa
from django.template.defaultfilters import title # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -28,8 +26,6 @@ from openstack_dashboard import api
from openstack_dashboard.dashboards.project.instances \
import tables as project_tables
-LOG = logging.getLogger(__name__)
-
class AdminEditInstance(project_tables.EditInstance):
url = "horizon:admin:instances:update"
diff --git a/openstack_dashboard/dashboards/admin/instances/views.py b/openstack_dashboard/dashboards/admin/instances/views.py
index 441a5d234..3397f2599 100644
--- a/openstack_dashboard/dashboards/admin/instances/views.py
+++ b/openstack_dashboard/dashboards/admin/instances/views.py
@@ -19,8 +19,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.datastructures import SortedDict # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -34,8 +32,6 @@ from openstack_dashboard.dashboards.project.instances import views
from openstack_dashboard.dashboards.project.instances.workflows \
import update_instance
-LOG = logging.getLogger(__name__)
-
# re-use console from project.instances.views to make reflection work
def console(args, **kvargs):
diff --git a/openstack_dashboard/dashboards/admin/metering/tables.py b/openstack_dashboard/dashboards/admin/metering/tables.py
index eaeb0e5e0..a7c316a3a 100644
--- a/openstack_dashboard/dashboards/admin/metering/tables.py
+++ b/openstack_dashboard/dashboards/admin/metering/tables.py
@@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.template.defaultfilters import filesizeformat # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -22,9 +20,6 @@ from horizon import tables
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class CommonFilterAction(tables.FilterAction):
def filter(self, table, resources, filter_string):
q = filter_string.lower()
diff --git a/openstack_dashboard/dashboards/admin/metering/views.py b/openstack_dashboard/dashboards/admin/metering/views.py
index 95c454e7d..9b615d566 100644
--- a/openstack_dashboard/dashboards/admin/metering/views.py
+++ b/openstack_dashboard/dashboards/admin/metering/views.py
@@ -16,7 +16,6 @@ from datetime import datetime # noqa
from datetime import timedelta # noqa
import json
-import logging
from django.http import HttpResponse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -31,8 +30,6 @@ from openstack_dashboard.api import ceilometer
from openstack_dashboard.dashboards.admin.metering import tabs as \
metering_tabs
-LOG = logging.getLogger(__name__)
-
class IndexView(tabs.TabbedTableView):
tab_group_class = metering_tabs.CeilometerOverviewTabs
diff --git a/openstack_dashboard/dashboards/admin/networks/ports/tabs.py b/openstack_dashboard/dashboards/admin/networks/ports/tabs.py
index b0f187cdf..665889d5f 100644
--- a/openstack_dashboard/dashboards/admin/networks/ports/tabs.py
+++ b/openstack_dashboard/dashboards/admin/networks/ports/tabs.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -25,9 +23,6 @@ from horizon import tabs
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class OverviewTab(tabs.Tab):
name = _("Overview")
slug = "overview"
diff --git a/openstack_dashboard/dashboards/admin/networks/ports/views.py b/openstack_dashboard/dashboards/admin/networks/ports/views.py
index 846e9ca0f..0b6d85d43 100644
--- a/openstack_dashboard/dashboards/admin/networks/ports/views.py
+++ b/openstack_dashboard/dashboards/admin/networks/ports/views.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -29,8 +27,6 @@ from openstack_dashboard.dashboards.project.networks.ports \
from openstack_dashboard.dashboards.admin.networks.ports \
import forms as project_forms
-LOG = logging.getLogger(__name__)
-
class CreateView(forms.ModalFormView):
form_class = project_forms.CreatePort
diff --git a/openstack_dashboard/dashboards/admin/networks/subnets/views.py b/openstack_dashboard/dashboards/admin/networks/subnets/views.py
index d226a4a8d..5926085fb 100644
--- a/openstack_dashboard/dashboards/admin/networks/subnets/views.py
+++ b/openstack_dashboard/dashboards/admin/networks/subnets/views.py
@@ -14,17 +14,12 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from openstack_dashboard.dashboards.project.networks.subnets \
import views as project_views
from openstack_dashboard.dashboards.admin.networks.subnets import workflows
-LOG = logging.getLogger(__name__)
-
-
class CreateView(project_views.CreateView):
workflow_class = workflows.CreateSubnet
diff --git a/openstack_dashboard/dashboards/admin/networks/views.py b/openstack_dashboard/dashboards/admin/networks/views.py
index b92b69bf4..c31c4f66d 100644
--- a/openstack_dashboard/dashboards/admin/networks/views.py
+++ b/openstack_dashboard/dashboards/admin/networks/views.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.datastructures import SortedDict # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -37,9 +35,6 @@ from openstack_dashboard.dashboards.admin.networks \
import tables as networks_tables
-LOG = logging.getLogger(__name__)
-
-
class IndexView(tables.DataTableView):
table_class = networks_tables.NetworksTable
template_name = 'admin/networks/index.html'
diff --git a/openstack_dashboard/dashboards/admin/projects/tables.py b/openstack_dashboard/dashboards/admin/projects/tables.py
index 2b4e2837a..dd1471d54 100644
--- a/openstack_dashboard/dashboards/admin/projects/tables.py
+++ b/openstack_dashboard/dashboards/admin/projects/tables.py
@@ -1,5 +1,3 @@
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.http import urlencode # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -9,8 +7,6 @@ from horizon import tables
from openstack_dashboard import api
from openstack_dashboard.api import keystone
-LOG = logging.getLogger(__name__)
-
class ViewMembersLink(tables.LinkAction):
name = "users"
diff --git a/openstack_dashboard/dashboards/admin/projects/views.py b/openstack_dashboard/dashboards/admin/projects/views.py
index dfa2cafdd..f9af86976 100644
--- a/openstack_dashboard/dashboards/admin/projects/views.py
+++ b/openstack_dashboard/dashboards/admin/projects/views.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -37,7 +35,6 @@ from openstack_dashboard.dashboards.admin.projects \
from openstack_dashboard.dashboards.admin.projects \
import workflows as project_workflows
-LOG = logging.getLogger(__name__)
PROJECT_INFO_FIELDS = ("domain_id",
"domain_name",
diff --git a/openstack_dashboard/dashboards/admin/roles/tables.py b/openstack_dashboard/dashboards/admin/roles/tables.py
index 5d0e201a8..37e731f0d 100644
--- a/openstack_dashboard/dashboards/admin/roles/tables.py
+++ b/openstack_dashboard/dashboards/admin/roles/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tables
@@ -23,9 +21,6 @@ from horizon import tables
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class CreateRoleLink(tables.LinkAction):
name = "create"
verbose_name = _("Create Role")
diff --git a/openstack_dashboard/dashboards/admin/routers/ports/tables.py b/openstack_dashboard/dashboards/admin/routers/ports/tables.py
index 550cd2adc..dc9d61892 100644
--- a/openstack_dashboard/dashboards/admin/routers/ports/tables.py
+++ b/openstack_dashboard/dashboards/admin/routers/ports/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tables
@@ -25,9 +23,6 @@ from openstack_dashboard.dashboards.project.routers.ports \
import tables as routers_tables
-LOG = logging.getLogger(__name__)
-
-
class PortsTable(tables.DataTable):
name = tables.Column("name",
verbose_name=_("Name"),
diff --git a/openstack_dashboard/dashboards/admin/routers/ports/tabs.py b/openstack_dashboard/dashboards/admin/routers/ports/tabs.py
index 16d63b85d..83ea839a8 100644
--- a/openstack_dashboard/dashboards/admin/routers/ports/tabs.py
+++ b/openstack_dashboard/dashboards/admin/routers/ports/tabs.py
@@ -13,13 +13,10 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
-import logging
from horizon import tabs
from openstack_dashboard.dashboards.project.routers.ports import tabs as r_tabs
-LOG = logging.getLogger(__name__)
-
class OverviewTab(r_tabs.OverviewTab):
template_name = "admin/networks/ports/_detail_overview.html"
diff --git a/openstack_dashboard/dashboards/admin/routers/ports/views.py b/openstack_dashboard/dashboards/admin/routers/ports/views.py
index 1f40c6e55..c9b8fa2ec 100644
--- a/openstack_dashboard/dashboards/admin/routers/ports/views.py
+++ b/openstack_dashboard/dashboards/admin/routers/ports/views.py
@@ -14,17 +14,12 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from horizon import tabs
from openstack_dashboard.dashboards.admin.routers.ports \
import tabs as project_tabs
-LOG = logging.getLogger(__name__)
-
-
class DetailView(tabs.TabView):
tab_group_class = project_tabs.PortDetailTabs
template_name = 'admin/networks/ports/detail.html'
diff --git a/openstack_dashboard/dashboards/admin/routers/tables.py b/openstack_dashboard/dashboards/admin/routers/tables.py
index a2ba1ab8b..7a0fb798e 100644
--- a/openstack_dashboard/dashboards/admin/routers/tables.py
+++ b/openstack_dashboard/dashboards/admin/routers/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.template.defaultfilters import title # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -24,9 +22,6 @@ from openstack_dashboard import api
from openstack_dashboard.dashboards.project.routers import tables as r_tables
-LOG = logging.getLogger(__name__)
-
-
class DeleteRouter(r_tables.DeleteRouter):
redirect_url = "horizon:admin:routers:index"
diff --git a/openstack_dashboard/dashboards/admin/routers/views.py b/openstack_dashboard/dashboards/admin/routers/views.py
index 0da2c0500..7be126bdc 100644
--- a/openstack_dashboard/dashboards/admin/routers/views.py
+++ b/openstack_dashboard/dashboards/admin/routers/views.py
@@ -18,8 +18,6 @@
Views for managing Neutron Routers.
"""
-import logging
-
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -33,9 +31,6 @@ from openstack_dashboard.dashboards.admin.routers.ports \
from openstack_dashboard.dashboards.admin.routers import tables
-LOG = logging.getLogger(__name__)
-
-
class IndexView(r_views.IndexView, n_views.IndexView):
table_class = tables.RoutersTable
template_name = 'admin/routers/index.html'
diff --git a/openstack_dashboard/dashboards/admin/users/tables.py b/openstack_dashboard/dashboards/admin/users/tables.py
index 35bdc4878..d47d68d22 100644
--- a/openstack_dashboard/dashboards/admin/users/tables.py
+++ b/openstack_dashboard/dashboards/admin/users/tables.py
@@ -1,5 +1,3 @@
-import logging
-
from django.template import defaultfilters
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -8,7 +6,6 @@ from horizon import tables
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
ENABLE = 0
DISABLE = 1
diff --git a/openstack_dashboard/dashboards/project/access_and_security/keypairs/tables.py b/openstack_dashboard/dashboards/project/access_and_security/keypairs/tables.py
index 9714be371..f1c3cb53d 100644
--- a/openstack_dashboard/dashboards/project/access_and_security/keypairs/tables.py
+++ b/openstack_dashboard/dashboards/project/access_and_security/keypairs/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tables
@@ -23,9 +21,6 @@ from horizon import tables
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class DeleteKeyPairs(tables.DeleteAction):
data_type_singular = _("Keypair")
data_type_plural = _("Keypairs")
diff --git a/openstack_dashboard/dashboards/project/access_and_security/keypairs/views.py b/openstack_dashboard/dashboards/project/access_and_security/keypairs/views.py
index 6c60aa89c..6bc4b82ed 100644
--- a/openstack_dashboard/dashboards/project/access_and_security/keypairs/views.py
+++ b/openstack_dashboard/dashboards/project/access_and_security/keypairs/views.py
@@ -21,8 +21,6 @@
"""
Views for managing keypairs.
"""
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.core.urlresolvers import reverse_lazy # noqa
from django import http
@@ -40,9 +38,6 @@ from openstack_dashboard.dashboards.project.access_and_security.keypairs \
import forms as project_forms
-LOG = logging.getLogger(__name__)
-
-
class CreateView(forms.ModalFormView):
form_class = project_forms.CreateKeypair
template_name = 'project/access_and_security/keypairs/create.html'
diff --git a/openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py b/openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py
index ee9c43295..93834765c 100644
--- a/openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py
+++ b/openstack_dashboard/dashboards/project/access_and_security/security_groups/forms.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
import netaddr
from django.conf import settings # noqa
@@ -38,9 +36,6 @@ from openstack_dashboard import api
from openstack_dashboard.utils import filters
-LOG = logging.getLogger(__name__)
-
-
class CreateGroup(forms.SelfHandlingForm):
name = forms.CharField(label=_("Name"),
error_messages={
diff --git a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py b/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py
index 68f2021a7..e74d20b0f 100644
--- a/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py
+++ b/openstack_dashboard/dashboards/project/access_and_security/security_groups/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.conf import settings # noqa
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -26,9 +24,6 @@ from openstack_dashboard import api
from openstack_dashboard.utils import filters
-LOG = logging.getLogger(__name__)
-
-
class DeleteGroup(tables.DeleteAction):
data_type_singular = _("Security Group")
data_type_plural = _("Security Groups")
diff --git a/openstack_dashboard/dashboards/project/access_and_security/security_groups/views.py b/openstack_dashboard/dashboards/project/access_and_security/security_groups/views.py
index 12fb61407..a6be1dcff 100644
--- a/openstack_dashboard/dashboards/project/access_and_security/security_groups/views.py
+++ b/openstack_dashboard/dashboards/project/access_and_security/security_groups/views.py
@@ -21,8 +21,6 @@
"""
Views for managing instances.
"""
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -40,9 +38,6 @@ from openstack_dashboard.dashboards.project.access_and_security.\
security_groups import tables as project_tables
-LOG = logging.getLogger(__name__)
-
-
class DetailView(tables.DataTableView):
table_class = project_tables.RulesTable
template_name = 'project/access_and_security/security_groups/detail.html'
diff --git a/openstack_dashboard/dashboards/project/containers/forms.py b/openstack_dashboard/dashboards/project/containers/forms.py
index 4bc020892..c9d4de740 100644
--- a/openstack_dashboard/dashboards/project/containers/forms.py
+++ b/openstack_dashboard/dashboards/project/containers/forms.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.core import validators
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -32,9 +30,6 @@ from openstack_dashboard import api
from openstack_dashboard.dashboards.project.containers import tables
-LOG = logging.getLogger(__name__)
-
-
no_slash_validator = validators.RegexValidator(r'^(?u)[^/]+$',
_("Slash is not an allowed "
"character."),
diff --git a/openstack_dashboard/dashboards/project/containers/tables.py b/openstack_dashboard/dashboards/project/containers/tables.py
index e66f532f1..786b942c8 100644
--- a/openstack_dashboard/dashboards/project/containers/tables.py
+++ b/openstack_dashboard/dashboards/project/containers/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.template.defaultfilters import filesizeformat # noqa
from django.utils import http
@@ -27,9 +25,6 @@ from openstack_dashboard import api
from openstack_dashboard.api import swift
-LOG = logging.getLogger(__name__)
-
-
def wrap_delimiter(name):
if name and not name.endswith(swift.FOLDER_DELIMITER):
return name + swift.FOLDER_DELIMITER
diff --git a/openstack_dashboard/dashboards/project/database_backups/tables.py b/openstack_dashboard/dashboards/project/database_backups/tables.py
index 877544c6d..d6267dcde 100644
--- a/openstack_dashboard/dashboards/project/database_backups/tables.py
+++ b/openstack_dashboard/dashboards/project/database_backups/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.template.defaultfilters import title # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -26,8 +24,6 @@ from horizon.utils import filters
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
STATUS_CHOICES = (
("BUILDING", None),
("COMPLETED", True),
diff --git a/openstack_dashboard/dashboards/project/database_backups/views.py b/openstack_dashboard/dashboards/project/database_backups/views.py
index fc223fec6..0fc66fcb3 100644
--- a/openstack_dashboard/dashboards/project/database_backups/views.py
+++ b/openstack_dashboard/dashboards/project/database_backups/views.py
@@ -17,8 +17,6 @@
"""
Views for displaying database backups.
"""
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -32,8 +30,6 @@ from openstack_dashboard import api
from openstack_dashboard.dashboards.project.database_backups import tables
from openstack_dashboard.dashboards.project.database_backups import workflows
-LOG = logging.getLogger(__name__)
-
class IndexView(horizon_tables.DataTableView):
table_class = tables.BackupsTable
diff --git a/openstack_dashboard/dashboards/project/databases/tables.py b/openstack_dashboard/dashboards/project/databases/tables.py
index a506374c0..c691ba02f 100644
--- a/openstack_dashboard/dashboards/project/databases/tables.py
+++ b/openstack_dashboard/dashboards/project/databases/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core import urlresolvers
from django.template.defaultfilters import title # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -30,8 +28,6 @@ from openstack_dashboard.dashboards.project.database_backups \
import tables as backup_tables
-LOG = logging.getLogger(__name__)
-
ACTIVE_STATES = ("ACTIVE",)
diff --git a/openstack_dashboard/dashboards/project/firewalls/tables.py b/openstack_dashboard/dashboards/project/firewalls/tables.py
index 3708e683f..08c214606 100644
--- a/openstack_dashboard/dashboards/project/firewalls/tables.py
+++ b/openstack_dashboard/dashboards/project/firewalls/tables.py
@@ -15,17 +15,12 @@
#
# @author: KC Wang, Big Switch Networks
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tables
-LOG = logging.getLogger(__name__)
-
-
class AddRuleLink(tables.LinkAction):
name = "addrule"
verbose_name = _("Add Rule")
diff --git a/openstack_dashboard/dashboards/project/firewalls/views.py b/openstack_dashboard/dashboards/project/firewalls/views.py
index 1baad6261..dfad25bc6 100644
--- a/openstack_dashboard/dashboards/project/firewalls/views.py
+++ b/openstack_dashboard/dashboards/project/firewalls/views.py
@@ -15,7 +15,6 @@
#
# @author: KC Wang, Big Switch Networks
-import logging
import re
from django.core.urlresolvers import reverse_lazy # noqa
@@ -50,8 +49,6 @@ AddFirewall = fw_workflows.AddFirewall
AddPolicy = fw_workflows.AddPolicy
AddRule = fw_workflows.AddRule
-LOG = logging.getLogger(__name__)
-
class IndexView(tabs.TabView):
tab_group_class = (FirewallTabs)
diff --git a/openstack_dashboard/dashboards/project/firewalls/workflows.py b/openstack_dashboard/dashboards/project/firewalls/workflows.py
index 6e7080392..68db25449 100644
--- a/openstack_dashboard/dashboards/project/firewalls/workflows.py
+++ b/openstack_dashboard/dashboards/project/firewalls/workflows.py
@@ -15,8 +15,6 @@
#
# @author: KC Wang, Big Switch Networks
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import exceptions
@@ -29,8 +27,6 @@ from openstack_dashboard import api
port_validator = validators.validate_port_or_colon_separated_port_range
-LOG = logging.getLogger(__name__)
-
class AddRuleAction(workflows.Action):
name = forms.CharField(
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py b/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py
index 9960543f6..b131bcf9b 100644
--- a/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py
+++ b/openstack_dashboard/dashboards/project/images_and_snapshots/images/forms.py
@@ -21,9 +21,6 @@
"""
Views for managing images.
"""
-
-import logging
-
from django.conf import settings # noqa
from django.forms import ValidationError # noqa
from django.forms.widgets import HiddenInput # noqa
@@ -40,9 +37,6 @@ IMAGE_BACKEND_SETTINGS = getattr(settings, 'OPENSTACK_IMAGE_BACKEND', {})
IMAGE_FORMAT_CHOICES = IMAGE_BACKEND_SETTINGS.get('image_formats', [])
-LOG = logging.getLogger(__name__)
-
-
class CreateImageForm(forms.SelfHandlingForm):
name = forms.CharField(max_length="255", label=_("Name"), required=True)
description = forms.CharField(widget=forms.widgets.Textarea(),
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/images/tables.py b/openstack_dashboard/dashboards/project/images_and_snapshots/images/tables.py
index a8b4bc573..5c402059f 100644
--- a/openstack_dashboard/dashboards/project/images_and_snapshots/images/tables.py
+++ b/openstack_dashboard/dashboards/project/images_and_snapshots/images/tables.py
@@ -15,7 +15,6 @@
# under the License.
from collections import defaultdict # noqa
-import logging
from django.conf import settings # noqa
from django.core.urlresolvers import reverse # noqa
@@ -29,9 +28,6 @@ from horizon.utils.memoized import memoized # noqa
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class LaunchImage(tables.LinkAction):
name = "launch_image"
verbose_name = _("Launch")
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/images/views.py b/openstack_dashboard/dashboards/project/images_and_snapshots/images/views.py
index 275401426..01a5148a5 100644
--- a/openstack_dashboard/dashboards/project/images_and_snapshots/images/views.py
+++ b/openstack_dashboard/dashboards/project/images_and_snapshots/images/views.py
@@ -21,9 +21,6 @@
"""
Views for managing images.
"""
-
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -40,9 +37,6 @@ from openstack_dashboard.dashboards.project.images_and_snapshots.images \
import tabs as project_tabs
-LOG = logging.getLogger(__name__)
-
-
class CreateView(forms.ModalFormView):
form_class = project_forms.CreateImageForm
template_name = 'project/images_and_snapshots/images/create.html'
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/forms.py b/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/forms.py
index b6694ed48..ba339cdd3 100644
--- a/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/forms.py
+++ b/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/forms.py
@@ -18,8 +18,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -30,9 +28,6 @@ from horizon import messages
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class CreateSnapshot(forms.SelfHandlingForm):
instance_id = forms.CharField(label=_("Instance ID"),
widget=forms.HiddenInput(),
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/views.py b/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/views.py
index a5daf67c7..cd7939c8b 100644
--- a/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/views.py
+++ b/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/views.py
@@ -21,9 +21,6 @@
"""
Views for managing instance snapshots.
"""
-
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -37,9 +34,6 @@ from openstack_dashboard.dashboards.project.images_and_snapshots.snapshots \
import forms as project_forms
-LOG = logging.getLogger(__name__)
-
-
class CreateView(forms.ModalFormView):
form_class = project_forms.CreateSnapshot
template_name = 'project/images_and_snapshots/snapshots/create.html'
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/views.py b/openstack_dashboard/dashboards/project/images_and_snapshots/views.py
index 14b621ccc..e49b65480 100644
--- a/openstack_dashboard/dashboards/project/images_and_snapshots/views.py
+++ b/openstack_dashboard/dashboards/project/images_and_snapshots/views.py
@@ -22,9 +22,6 @@
"""
Views for managing Images and Snapshots.
"""
-
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import exceptions
@@ -41,8 +38,6 @@ from openstack_dashboard.dashboards.project.images_and_snapshots.\
from openstack_dashboard.dashboards.project.images_and_snapshots.\
volume_snapshots import tabs as vol_snsh_tabs
-LOG = logging.getLogger(__name__)
-
class IndexView(tables.MultiTableView):
table_classes = (images_tables.ImagesTable,
diff --git a/openstack_dashboard/dashboards/project/images_and_snapshots/volume_snapshots/tables.py b/openstack_dashboard/dashboards/project/images_and_snapshots/volume_snapshots/tables.py
index c8770aba5..17008f563 100644
--- a/openstack_dashboard/dashboards/project/images_and_snapshots/volume_snapshots/tables.py
+++ b/openstack_dashboard/dashboards/project/images_and_snapshots/volume_snapshots/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.http import urlencode # noqa
from django.utils import safestring
@@ -30,9 +28,6 @@ from openstack_dashboard.dashboards.project.volumes \
import tables as volume_tables
-LOG = logging.getLogger(__name__)
-
-
class DeleteVolumeSnapshot(tables.DeleteAction):
data_type_singular = _("Volume Snapshot")
data_type_plural = _("Volume Snapshots")
diff --git a/openstack_dashboard/dashboards/project/instances/views.py b/openstack_dashboard/dashboards/project/instances/views.py
index 02c465eda..30c285370 100644
--- a/openstack_dashboard/dashboards/project/instances/views.py
+++ b/openstack_dashboard/dashboards/project/instances/views.py
@@ -21,8 +21,6 @@
"""
Views for managing instances.
"""
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.core.urlresolvers import reverse_lazy # noqa
from django import http
@@ -47,9 +45,6 @@ from openstack_dashboard.dashboards.project.instances \
import workflows as project_workflows
-LOG = logging.getLogger(__name__)
-
-
class IndexView(tables.DataTableView):
table_class = project_tables.InstancesTable
template_name = 'project/instances/index.html'
diff --git a/openstack_dashboard/dashboards/project/instances/workflows/resize_instance.py b/openstack_dashboard/dashboards/project/instances/workflows/resize_instance.py
index 96ea0e1ce..cc8a55652 100644
--- a/openstack_dashboard/dashboards/project/instances/workflows/resize_instance.py
+++ b/openstack_dashboard/dashboards/project/instances/workflows/resize_instance.py
@@ -16,7 +16,6 @@
import json
-import logging
from django.utils.translation import ugettext_lazy as _ # noqa
from django.views.decorators.debug import sensitive_variables # noqa
@@ -28,9 +27,6 @@ from horizon import workflows
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class SetFlavorChoiceAction(workflows.Action):
old_flavor_id = forms.CharField(required=False, widget=forms.HiddenInput())
old_flavor_name = forms.CharField(label=_("Old Flavor"),
diff --git a/openstack_dashboard/dashboards/project/loadbalancers/tables.py b/openstack_dashboard/dashboards/project/loadbalancers/tables.py
index 65976cecb..e08438546 100644
--- a/openstack_dashboard/dashboards/project/loadbalancers/tables.py
+++ b/openstack_dashboard/dashboards/project/loadbalancers/tables.py
@@ -25,11 +25,6 @@ from horizon import tables
from openstack_dashboard import api
-import logging
-
-
-LOG = logging.getLogger(__name__)
-
class AddPoolLink(tables.LinkAction):
name = "addpool"
diff --git a/openstack_dashboard/dashboards/project/loadbalancers/views.py b/openstack_dashboard/dashboards/project/loadbalancers/views.py
index 659eb32e3..d4ef769ce 100644
--- a/openstack_dashboard/dashboards/project/loadbalancers/views.py
+++ b/openstack_dashboard/dashboards/project/loadbalancers/views.py
@@ -23,8 +23,6 @@ from horizon import messages
from horizon import tabs
from horizon import workflows
-import logging
-
from openstack_dashboard import api
from openstack_dashboard.dashboards.project.loadbalancers \
import forms as project_forms
@@ -35,8 +33,6 @@ from openstack_dashboard.dashboards.project.loadbalancers \
import re
-LOG = logging.getLogger(__name__)
-
class IndexView(tabs.TabView):
tab_group_class = (project_tabs.LoadBalancerTabs)
diff --git a/openstack_dashboard/dashboards/project/loadbalancers/workflows.py b/openstack_dashboard/dashboards/project/loadbalancers/workflows.py
index 766c89ad0..675ac158b 100644
--- a/openstack_dashboard/dashboards/project/loadbalancers/workflows.py
+++ b/openstack_dashboard/dashboards/project/loadbalancers/workflows.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import exceptions
@@ -27,9 +25,6 @@ from horizon import workflows
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class AddPoolAction(workflows.Action):
name = forms.CharField(max_length=80, label=_("Name"))
description = forms.CharField(
diff --git a/openstack_dashboard/dashboards/project/network_topology/routers/tables.py b/openstack_dashboard/dashboards/project/network_topology/routers/tables.py
index eedff2d78..3f96ed170 100644
--- a/openstack_dashboard/dashboards/project/network_topology/routers/tables.py
+++ b/openstack_dashboard/dashboards/project/network_topology/routers/tables.py
@@ -18,8 +18,6 @@ from django.utils.translation import ugettext_lazy as _ # noqa
from openstack_dashboard.dashboards.project.routers import\
tables as r_tables
-#LOG = logging.getLogger(__name__)
-
class DeleteRouter(r_tables.DeleteRouter):
redirect_url = "horizon:project:network_topology:router"
diff --git a/openstack_dashboard/dashboards/project/networks/ports/tables.py b/openstack_dashboard/dashboards/project/networks/ports/tables.py
index e28b0c8c9..f35cf39c0 100644
--- a/openstack_dashboard/dashboards/project/networks/ports/tables.py
+++ b/openstack_dashboard/dashboards/project/networks/ports/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django import template
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -23,9 +21,6 @@ from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import tables
-LOG = logging.getLogger(__name__)
-
-
def get_fixed_ips(port):
template_name = 'project/networks/ports/_port_ips.html'
context = {"ips": port.fixed_ips}
diff --git a/openstack_dashboard/dashboards/project/networks/ports/tabs.py b/openstack_dashboard/dashboards/project/networks/ports/tabs.py
index bf63c1216..61371c440 100644
--- a/openstack_dashboard/dashboards/project/networks/ports/tabs.py
+++ b/openstack_dashboard/dashboards/project/networks/ports/tabs.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -25,9 +23,6 @@ from horizon import tabs
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class OverviewTab(tabs.Tab):
name = _("Overview")
slug = "overview"
diff --git a/openstack_dashboard/dashboards/project/networks/subnets/tabs.py b/openstack_dashboard/dashboards/project/networks/subnets/tabs.py
index 450006c0f..e56b70af0 100644
--- a/openstack_dashboard/dashboards/project/networks/subnets/tabs.py
+++ b/openstack_dashboard/dashboards/project/networks/subnets/tabs.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -25,9 +23,6 @@ from horizon import tabs
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class OverviewTab(tabs.Tab):
name = _("Overview")
slug = "overview"
diff --git a/openstack_dashboard/dashboards/project/networks/subnets/views.py b/openstack_dashboard/dashboards/project/networks/subnets/views.py
index 55c87286b..57f9bd4d0 100644
--- a/openstack_dashboard/dashboards/project/networks/subnets/views.py
+++ b/openstack_dashboard/dashboards/project/networks/subnets/views.py
@@ -17,8 +17,6 @@
"""
Views for managing Neutron Subnets.
"""
-import logging
-
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -34,9 +32,6 @@ from openstack_dashboard.dashboards.project.networks.subnets \
import workflows as project_workflows
-LOG = logging.getLogger(__name__)
-
-
class CreateView(workflows.WorkflowView):
workflow_class = project_workflows.CreateSubnet
diff --git a/openstack_dashboard/dashboards/project/networks/views.py b/openstack_dashboard/dashboards/project/networks/views.py
index 419d03ba5..179e16658 100644
--- a/openstack_dashboard/dashboards/project/networks/views.py
+++ b/openstack_dashboard/dashboards/project/networks/views.py
@@ -17,8 +17,6 @@
"""
Views for managing Neutron Networks.
"""
-import logging
-
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -41,9 +39,6 @@ from openstack_dashboard.dashboards.project.networks \
import workflows as project_workflows
-LOG = logging.getLogger(__name__)
-
-
class IndexView(tables.DataTableView):
table_class = project_tables.NetworksTable
template_name = 'project/networks/index.html'
diff --git a/openstack_dashboard/dashboards/project/routers/ports/tabs.py b/openstack_dashboard/dashboards/project/routers/ports/tabs.py
index 6d134d8da..3ff7ef940 100644
--- a/openstack_dashboard/dashboards/project/routers/ports/tabs.py
+++ b/openstack_dashboard/dashboards/project/routers/ports/tabs.py
@@ -13,7 +13,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.
-import logging
from django.core.urlresolvers import reverse # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -22,8 +21,6 @@ from horizon import exceptions
from horizon import tabs
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
class OverviewTab(tabs.Tab):
name = _("Overview")
diff --git a/openstack_dashboard/dashboards/project/routers/ports/views.py b/openstack_dashboard/dashboards/project/routers/ports/views.py
index 91559601e..5b8fde9c9 100644
--- a/openstack_dashboard/dashboards/project/routers/ports/views.py
+++ b/openstack_dashboard/dashboards/project/routers/ports/views.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import reverse # noqa
from horizon import exceptions
@@ -30,9 +28,6 @@ from openstack_dashboard.dashboards.project.routers.ports \
import tabs as project_tabs
-LOG = logging.getLogger(__name__)
-
-
class AddInterfaceView(forms.ModalFormView):
form_class = project_forms.AddInterface
template_name = 'project/routers/ports/create.html'
diff --git a/openstack_dashboard/dashboards/project/routers/views.py b/openstack_dashboard/dashboards/project/routers/views.py
index 4ccd8dc02..9a2b744d7 100644
--- a/openstack_dashboard/dashboards/project/routers/views.py
+++ b/openstack_dashboard/dashboards/project/routers/views.py
@@ -18,8 +18,6 @@
Views for managing Neutron Routers.
"""
-import logging
-
from django.core.urlresolvers import reverse_lazy # noqa
from django.utils.datastructures import SortedDict # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -37,9 +35,6 @@ from openstack_dashboard.dashboards.project.routers \
import tables as project_tables
-LOG = logging.getLogger(__name__)
-
-
class IndexView(tables.DataTableView):
table_class = project_tables.RoutersTable
template_name = 'project/routers/index.html'
diff --git a/openstack_dashboard/dashboards/project/stacks/api.py b/openstack_dashboard/dashboards/project/stacks/api.py
index bec494cd2..c28b1c35f 100644
--- a/openstack_dashboard/dashboards/project/stacks/api.py
+++ b/openstack_dashboard/dashboards/project/stacks/api.py
@@ -1,5 +1,4 @@
import json
-import logging
from openstack_dashboard.api import heat
@@ -7,9 +6,6 @@ from openstack_dashboard.dashboards.project.stacks import mappings
from openstack_dashboard.dashboards.project.stacks import sro
-LOG = logging.getLogger(__name__)
-
-
class Stack(object):
pass
diff --git a/openstack_dashboard/dashboards/project/stacks/tables.py b/openstack_dashboard/dashboards/project/stacks/tables.py
index 7c281e47e..f0bc731ea 100644
--- a/openstack_dashboard/dashboards/project/stacks/tables.py
+++ b/openstack_dashboard/dashboards/project/stacks/tables.py
@@ -12,8 +12,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.http import Http404 # noqa
from django.template.defaultfilters import timesince # noqa
from django.template.defaultfilters import title # noqa
@@ -28,8 +26,6 @@ from heatclient import exc
from openstack_dashboard import api
from openstack_dashboard.dashboards.project.stacks import mappings
-LOG = logging.getLogger(__name__)
-
class LaunchStack(tables.LinkAction):
name = "launch"
diff --git a/openstack_dashboard/dashboards/project/volumes/tables.py b/openstack_dashboard/dashboards/project/volumes/tables.py
index f2a163e53..c84bf0086 100644
--- a/openstack_dashboard/dashboards/project/volumes/tables.py
+++ b/openstack_dashboard/dashboards/project/volumes/tables.py
@@ -14,8 +14,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
-
from django.core.urlresolvers import NoReverseMatch # noqa
from django.core.urlresolvers import reverse # noqa
from django.template.defaultfilters import title # noqa
@@ -33,8 +31,6 @@ from openstack_dashboard.api import cinder
from openstack_dashboard.usage import quotas
-LOG = logging.getLogger(__name__)
-
DELETABLE_STATES = ("available", "error")
diff --git a/openstack_dashboard/dashboards/project/volumes/views.py b/openstack_dashboard/dashboards/project/volumes/views.py
index c89fc5253..f0631cf8d 100644
--- a/openstack_dashboard/dashboards/project/volumes/views.py
+++ b/openstack_dashboard/dashboards/project/volumes/views.py
@@ -27,8 +27,6 @@ from horizon import forms
from horizon import tables
from horizon import tabs
-import logging
-
from openstack_dashboard import api
from openstack_dashboard.api import cinder
from openstack_dashboard.usage import quotas
@@ -42,9 +40,6 @@ from openstack_dashboard.dashboards.project.volumes \
import tabs as project_tabs
-LOG = logging.getLogger(__name__)
-
-
class VolumeTableMixIn(object):
def _get_volumes(self, search_opts=None):
try:
diff --git a/openstack_dashboard/dashboards/project/vpn/tables.py b/openstack_dashboard/dashboards/project/vpn/tables.py
index 798cf385e..8d7d62a4b 100644
--- a/openstack_dashboard/dashboards/project/vpn/tables.py
+++ b/openstack_dashboard/dashboards/project/vpn/tables.py
@@ -17,8 +17,6 @@
# @author: Tatiana Mazur
-import logging
-
from django.template.defaultfilters import title # noqa
from django.utils.translation import ugettext_lazy as _ # noqa
@@ -26,9 +24,6 @@ from horizon import tables
from horizon.utils import filters
-LOG = logging.getLogger(__name__)
-
-
class AddIKEPolicyLink(tables.LinkAction):
name = "addikepolicy"
verbose_name = _("Add IKE Policy")
diff --git a/openstack_dashboard/dashboards/project/vpn/views.py b/openstack_dashboard/dashboards/project/vpn/views.py
index e6f64c684..cef978e7d 100644
--- a/openstack_dashboard/dashboards/project/vpn/views.py
+++ b/openstack_dashboard/dashboards/project/vpn/views.py
@@ -24,8 +24,6 @@ from horizon import messages
from horizon import tabs
from horizon import workflows
-import logging
-
from openstack_dashboard import api
from openstack_dashboard.dashboards.project.vpn import tabs as vpn_tabs
@@ -34,8 +32,6 @@ from openstack_dashboard.dashboards.project.vpn import \
import re
-LOG = logging.getLogger(__name__)
-
class IndexView(tabs.TabbedTableView):
tab_group_class = vpn_tabs.VPNTabs
diff --git a/openstack_dashboard/dashboards/project/vpn/workflows.py b/openstack_dashboard/dashboards/project/vpn/workflows.py
index 52563ae92..f0541a422 100644
--- a/openstack_dashboard/dashboards/project/vpn/workflows.py
+++ b/openstack_dashboard/dashboards/project/vpn/workflows.py
@@ -16,8 +16,6 @@
#
# @author: Tatiana Mazur
-import logging
-
from django.utils.translation import ugettext_lazy as _ # noqa
from horizon import exceptions
@@ -28,9 +26,6 @@ from horizon import workflows
from openstack_dashboard import api
-LOG = logging.getLogger(__name__)
-
-
class AddVPNServiceAction(workflows.Action):
name = forms.CharField(max_length=80, label=_("Name"))
description = forms.CharField(