Delete the unused LOG configure code

Delete the unused LOG configure code and import code

Change-Id: I5e42a3b25aae89e62e20e8061b39c7be700aba33
This commit is contained in:
zhu.rong 2015-09-12 14:28:22 +08:00 committed by zhu.rong
parent 685d84949e
commit 4636bf18d7
11 changed files with 0 additions and 43 deletions

View File

@ -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."""

View File

@ -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,

View File

@ -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 = {}

View File

@ -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

View File

@ -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(

View File

@ -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'

View File

@ -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"),

View File

@ -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

View File

@ -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"

View File

@ -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'

View File

@ -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'