Remove unused LOG variables

TrivialFix
Change-Id: I84f80aa75fb455039e5b56ae4d49a5f77db9097a
This commit is contained in:
Takashi NATSUME 2018-02-20 18:15:55 +09:00
parent cbd67030d0
commit 5133a543b9
9 changed files with 0 additions and 28 deletions

View File

@ -12,15 +12,11 @@
# License for the specific language governing permissions and limitations
# under the License.
from oslo_log import log as logging
import webob.exc
from nova.api.openstack import wsgi
from nova.policies import extensions as ext_policies
LOG = logging.getLogger(__name__)
EXTENSION_LIST = [
{

View File

@ -12,8 +12,6 @@
import webob
from oslo_log import log as logging
from nova.api.openstack import api_version_request
from nova.api.openstack.compute.schemas import flavor_manage
from nova.api.openstack.compute.views import flavors as flavors_view
@ -27,7 +25,6 @@ from nova.policies import flavor_manage as fm_policies
from nova import policy
LOG = logging.getLogger(__name__)
ALIAS = "os-flavor-manage"

View File

@ -14,7 +14,6 @@
import collections
from oslo_log import log as logging
from oslo_serialization import jsonutils
from oslo_utils import encodeutils
from oslo_utils import timeutils
@ -30,9 +29,6 @@ from nova.i18n import _
from nova.objects import resource_provider as rp_obj
LOG = logging.getLogger(__name__)
def _transform_allocation_requests_dict(alloc_reqs):
"""Turn supplied list of AllocationRequest objects into a list of
allocations dicts keyed by resource provider uuid of resources involved

View File

@ -37,7 +37,6 @@ from nova import utils
from nova import version
CONF = nova.conf.CONF
LOG = logging.getLogger('nova.compute')
def main():

View File

@ -14,7 +14,6 @@
from oslo_db import exception as db_exc
from oslo_db.sqlalchemy import utils as sqlalchemyutils
from oslo_log import log as logging
from oslo_utils import versionutils
from sqlalchemy import or_
from sqlalchemy.orm import joinedload
@ -33,7 +32,6 @@ from nova.objects import base
from nova.objects import fields
LOG = logging.getLogger(__name__)
OPTIONAL_FIELDS = ['extra_specs', 'projects']
# Remove these fields in version 2.0 of the object.
DEPRECATED_FIELDS = ['deleted', 'deleted_at']

View File

@ -10,8 +10,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_log import log as logging
from nova import test
from nova.tests import fixtures as nova_fixtures
from nova.tests.functional import integrated_helpers
@ -21,8 +19,6 @@ import nova.tests.unit.image.fake
from nova.tests.unit import policy_fixture
from nova.virt import fake
LOG = logging.getLogger(__name__)
class TestParallelEvacuationWithServerGroup(
test.TestCase, integrated_helpers.InstanceHelperMixin):

View File

@ -21,7 +21,6 @@ import pprint
import fixtures
import mock
from oslo_log import log
from oslo_utils import timeutils
from oslo_versionedobjects import base as ovo_base
from oslo_versionedobjects import exception as ovo_exc
@ -40,9 +39,6 @@ from nova.tests.unit import fake_notifier
from nova import utils
LOG = log.getLogger(__name__)
class MyOwnedObject(base.NovaPersistentObject, base.NovaObject):
VERSION = '1.0'
fields = {'baz': fields.IntegerField()}

View File

@ -11,13 +11,9 @@
# under the License.
from oslo_log import log as logging
import nova.conf
from nova.virt.libvirt.volume import fs
LOG = logging.getLogger(__name__)
CONF = nova.conf.CONF

View File

@ -14,14 +14,12 @@
import math
from oslo_log import log as logging
from oslo_serialization import jsonutils
from nova import conf as cfg
from nova.objects import fields
LOG = logging.getLogger(__name__)
CONF = cfg.CONF
# Power VM hypervisor info