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:
Cao Xuan Hoang 2016-09-06 11:18:11 +07:00
parent e3a3519fb3
commit 6e77d8064b
15 changed files with 0 additions and 58 deletions

View File

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

View File

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

View File

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

View File

@ -16,9 +16,6 @@ limitations under the License.
"""
import json
from oslo_log import log
LOG = log.getLogger(__name__)
class ApiClientException(Exception):

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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