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