Delete the unused LOG configure code
Delete the unused LOG configure code and import code Change-Id: I5e42a3b25aae89e62e20e8061b39c7be700aba33
This commit is contained in:
parent
685d84949e
commit
4636bf18d7
@ -17,7 +17,6 @@
|
||||
# under the License.
|
||||
|
||||
from collections import Sequence # noqa
|
||||
import logging
|
||||
|
||||
from django.conf import settings
|
||||
|
||||
@ -30,9 +29,6 @@ __all__ = ('APIResourceWrapper', 'APIDictWrapper',
|
||||
'get_service_from_catalog', 'url_for',)
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class APIVersionManager(object):
|
||||
"""Object to store and manage API versioning data and utility methods."""
|
||||
|
||||
|
@ -11,7 +11,6 @@
|
||||
# under the License.
|
||||
|
||||
from collections import OrderedDict
|
||||
import logging
|
||||
import threading
|
||||
|
||||
from ceilometerclient import client as ceilometer_client
|
||||
@ -25,8 +24,6 @@ from openstack_dashboard.api import base
|
||||
from openstack_dashboard.api import keystone
|
||||
from openstack_dashboard.api import nova
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def get_flavor_names(request):
|
||||
# TODO(lsmola) The flavors can be set per project,
|
||||
|
@ -10,8 +10,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from django.conf import settings
|
||||
from heatclient import client as heat_client
|
||||
|
||||
@ -19,8 +17,6 @@ from horizon.utils import functions as utils
|
||||
from horizon.utils.memoized import memoized # noqa
|
||||
from openstack_dashboard.api import base
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
def format_parameters(params):
|
||||
parameters = {}
|
||||
|
@ -16,8 +16,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from oslo_utils import timeutils
|
||||
import six.moves.urllib.parse as urlparse
|
||||
import swiftclient
|
||||
@ -31,7 +29,6 @@ from horizon.utils.memoized import memoized # noqa
|
||||
from openstack_dashboard.api import base
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
FOLDER_DELIMITER = "/"
|
||||
CHUNK_SIZE = getattr(settings, 'SWIFT_FILE_TRANSFER_CHUNK_SIZE', 512 * 1024)
|
||||
# Swift ACL
|
||||
|
@ -17,7 +17,6 @@
|
||||
Forms for managing metadata.
|
||||
"""
|
||||
import json
|
||||
import logging
|
||||
|
||||
from django.forms import ValidationError # noqa
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
@ -30,8 +29,6 @@ from openstack_dashboard.api import glance
|
||||
from openstack_dashboard.dashboards.admin.metadata_defs \
|
||||
import constants
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class CreateNamespaceForm(forms.SelfHandlingForm):
|
||||
source_type = forms.ChoiceField(
|
||||
|
@ -11,7 +11,6 @@
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
import logging
|
||||
|
||||
from django.core.urlresolvers import reverse_lazy
|
||||
from django.http import HttpResponse # noqa
|
||||
@ -32,9 +31,6 @@ from openstack_dashboard.dashboards.admin.metering import tabs as \
|
||||
from openstack_dashboard.utils import metering as metering_utils
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class IndexView(tabs.TabbedTableView):
|
||||
tab_group_class = metering_tabs.CeilometerOverviewTabs
|
||||
template_name = 'admin/metering/index.html'
|
||||
|
@ -12,8 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
@ -24,9 +22,6 @@ from horizon import messages
|
||||
from openstack_dashboard import api
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AddDHCPAgent(forms.SelfHandlingForm):
|
||||
network_id = forms.CharField(widget=forms.HiddenInput())
|
||||
network_name = forms.CharField(label=_("Network Name"),
|
||||
|
@ -13,8 +13,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
@ -26,8 +24,6 @@ from openstack_dashboard import api
|
||||
from openstack_dashboard.dashboards.project.routers.extensions.extraroutes\
|
||||
import forms as erforms
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AddRouterRouteView(forms.ModalFormView):
|
||||
form_class = erforms.AddRouterRoute
|
||||
|
@ -12,8 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import ungettext_lazy
|
||||
@ -24,8 +22,6 @@ from openstack_dashboard import policy
|
||||
|
||||
from horizon import tables
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AddRouterRule(policy.PolicyTargetMixin, tables.LinkAction):
|
||||
name = "create"
|
||||
|
@ -12,8 +12,6 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
import logging
|
||||
|
||||
from django.core.urlresolvers import reverse
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
@ -26,9 +24,6 @@ from openstack_dashboard.dashboards.project.routers.extensions.routerrules\
|
||||
import forms as rrforms
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class AddRouterRuleView(forms.ModalFormView):
|
||||
form_class = rrforms.AddRouterRule
|
||||
template_name = 'project/routers/extensions/routerrules/create.html'
|
||||
|
@ -11,7 +11,6 @@
|
||||
# under the License.
|
||||
|
||||
import json
|
||||
import logging
|
||||
from operator import attrgetter
|
||||
|
||||
import yaml
|
||||
@ -39,9 +38,6 @@ from openstack_dashboard.dashboards.project.stacks \
|
||||
import tabs as project_tabs
|
||||
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
||||
class IndexView(tables.DataTableView):
|
||||
table_class = project_tables.StacksTable
|
||||
template_name = 'project/stacks/index.html'
|
||||
|
Loading…
Reference in New Issue
Block a user