TrivialFix: Remove logging import unused
This patch removes logging import unused in freezer/apiclient/*.py freezer/engine/tar/tar_builders.py freezer/mode/*.py freezer/snapshot/snapshot.py freezer/storage/*.py Change-Id: I78db3a199f441f97e7df25f5ac1826e5091f6adc
This commit is contained in:
parent
e3a3519fb3
commit
6e77d8064b
@ -18,12 +18,8 @@ limitations under the License.
|
||||
import json
|
||||
import requests
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.apiclient import exceptions
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class ActionManager(object):
|
||||
|
||||
|
@ -17,12 +17,8 @@ limitations under the License.
|
||||
import json
|
||||
import requests
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.apiclient import exceptions
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class BackupsManager(object):
|
||||
|
||||
|
@ -23,7 +23,6 @@ from keystoneauth1.identity import v2
|
||||
from keystoneauth1.identity import v3
|
||||
from keystoneauth1 import session as ksa_session
|
||||
from oslo_config import cfg
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.apiclient import actions
|
||||
from freezer.apiclient import backups
|
||||
@ -32,8 +31,6 @@ from freezer.apiclient import registration
|
||||
from freezer.apiclient import sessions
|
||||
from freezer.utils import utils
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
FREEZER_SERVICE_TYPE = 'backup'
|
||||
|
||||
|
||||
|
@ -16,9 +16,6 @@ limitations under the License.
|
||||
"""
|
||||
|
||||
import json
|
||||
from oslo_log import log
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class ApiClientException(Exception):
|
||||
|
@ -17,12 +17,8 @@ limitations under the License.
|
||||
import json
|
||||
import requests
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.apiclient import exceptions
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class JobManager(object):
|
||||
|
||||
|
@ -17,12 +17,8 @@ limitations under the License.
|
||||
import json
|
||||
import requests
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.apiclient import exceptions
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class RegistrationManager(object):
|
||||
|
||||
|
@ -17,12 +17,8 @@ limitations under the License.
|
||||
import json
|
||||
import requests
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.apiclient import exceptions
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class SessionManager(object):
|
||||
|
||||
|
@ -17,10 +17,6 @@ Freezer Tar related functions
|
||||
"""
|
||||
from freezer.utils import utils
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class TarCommandBuilder(object):
|
||||
"""
|
||||
|
@ -12,12 +12,8 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.mode import mode
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class FsMode(mode.Mode):
|
||||
|
||||
|
@ -15,10 +15,6 @@
|
||||
import abc
|
||||
import six
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class Mode(object):
|
||||
|
@ -12,13 +12,9 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.mode import mode
|
||||
from freezer.utils import config
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class MysqlMode(mode.Mode):
|
||||
"""
|
||||
|
@ -16,14 +16,10 @@ limitations under the License.
|
||||
Freezer Backup modes related functions
|
||||
"""
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.snapshot import lvm
|
||||
from freezer.snapshot import vss
|
||||
from freezer.utils import winutils
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
def snapshot_create(backup_opt_dict):
|
||||
"""
|
||||
|
@ -15,12 +15,8 @@
|
||||
import abc
|
||||
import six
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.storage import physical
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
@six.add_metaclass(abc.ABCMeta)
|
||||
class FsLikeStorage(physical.PhysicalStorage):
|
||||
|
@ -19,13 +19,9 @@ import io
|
||||
import os
|
||||
import shutil
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.storage import fslike
|
||||
from freezer.utils import utils
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class LocalStorage(fslike.FsLikeStorage):
|
||||
def get_file(self, from_path, to_path):
|
||||
|
@ -20,14 +20,10 @@ import stat
|
||||
|
||||
import paramiko
|
||||
|
||||
from oslo_log import log
|
||||
|
||||
from freezer.storage import fslike
|
||||
|
||||
from freezer.utils import utils
|
||||
|
||||
LOG = log.getLogger(__name__)
|
||||
|
||||
|
||||
class SshStorage(fslike.FsLikeStorage):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user