Remove unused logging import
remove unused logging import, and change import order in /octavia/common/keystone.py for pep8 check Change-Id: Iede900e646a801d71cf546ee8aa57c4a9de1d3fa
This commit is contained in:
parent
f74a130f87
commit
f44606c2e0
|
@ -12,7 +12,6 @@
|
||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
import logging
|
|
||||||
import os
|
import os
|
||||||
import re
|
import re
|
||||||
import socket
|
import socket
|
||||||
|
@ -28,8 +27,6 @@ from octavia.amphorae.backends.agent import api_server
|
||||||
from octavia.amphorae.backends.agent.api_server import util
|
from octavia.amphorae.backends.agent.api_server import util
|
||||||
from octavia.common import constants as consts
|
from octavia.common import constants as consts
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class AmphoraInfo(object):
|
class AmphoraInfo(object):
|
||||||
def __init__(self, osutils):
|
def __init__(self, osutils):
|
||||||
|
|
|
@ -13,12 +13,8 @@
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from keystoneauth1 import loading as ks_loading
|
from keystoneauth1 import loading as ks_loading
|
||||||
from oslo_config import cfg
|
|
||||||
from oslo_log import log as logging
|
|
||||||
|
|
||||||
from octavia.common import constants
|
from octavia.common import constants
|
||||||
|
from oslo_config import cfg
|
||||||
LOG = logging.getLogger(__name__)
|
|
||||||
|
|
||||||
|
|
||||||
class KeystoneSession(object):
|
class KeystoneSession(object):
|
||||||
|
|
Loading…
Reference in New Issue