Remove six [4]

Change-Id: I1e537b44439e123b4d78867228749fcf5291dbc7
This commit is contained in:
zhurong 2020-04-13 19:20:33 -07:00
parent 1db655fdc4
commit cf07bbeded
1 changed files with 2 additions and 3 deletions

View File

@ -24,7 +24,6 @@ import httplib2
# from keystoneclient.v2_0 import client as ksclient
from oslo_config import cfg
from oslo_log import log as os_logging
import six
from sqlalchemy import exc as sqla_exc
from swiftclient import exceptions as swiftexp
import yaml
@ -253,8 +252,8 @@ class Handler(object):
log_handler = userlog_handler.UserlogHandler(ctxt)
log_handler.delete(logs_resource_id)
except exception.AuthorizationFailure as authexcp:
t_logger.log(logging.ERROR, six.text_type(authexcp))
LOG.debug(six.text_type(authexcp))
t_logger.log(logging.ERROR, str(authexcp))
LOG.debug(str(authexcp))
t_logger.upload()
def _delete_app_artifacts_from_glance(self, ctxt, t_logger, assem):