Remove unused LOG to keep code clean
Remove redundant usage of logging. Change-Id: Idab3b20c8f5878aaea7c90607c99efd0c81f93c8
This commit is contained in:
parent
2b36107f0b
commit
9981276fe6
@ -21,14 +21,12 @@ File utilities.
|
|||||||
|
|
||||||
import contextlib
|
import contextlib
|
||||||
import errno
|
import errno
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
import stat
|
import stat
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|
||||||
from oslo_utils import excutils
|
from oslo_utils import excutils
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
_DEFAULT_MODE = stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO
|
_DEFAULT_MODE = stat.S_IRWXU | stat.S_IRWXG | stat.S_IRWXO
|
||||||
|
|
||||||
|
|
||||||
|
@ -19,15 +19,11 @@ Helpers for comparing version strings.
|
|||||||
.. versionadded:: 1.6
|
.. versionadded:: 1.6
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
|
||||||
|
|
||||||
import pkg_resources
|
import pkg_resources
|
||||||
import six
|
import six
|
||||||
|
|
||||||
from oslo_utils._i18n import _
|
from oslo_utils._i18n import _
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
def is_compatible(requested_version, current_version, same_major=True):
|
def is_compatible(requested_version, current_version, same_major=True):
|
||||||
"""Determine whether `requested_version` is satisfied by
|
"""Determine whether `requested_version` is satisfied by
|
||||||
|
Loading…
x
Reference in New Issue
Block a user