FIX: module rename issue for Python 2/3 compatible code
import six.moves to fix rename of urlparse and Queue Change-Id: Iee1b6053e4c1a174c40cfa858bf62557d308194a Story: 2004585 Task: 28446 Signed-off-by: Sun Austin <austin.sun@intel.com>
This commit is contained in:
parent
7d306ed822
commit
bb65ec36e6
|
@ -15,7 +15,7 @@
|
|||
|
||||
from dcorch.common import consts
|
||||
from oslo_log import log as logging
|
||||
from urlparse import urlparse
|
||||
from six.moves.urllib.parse import urlparse
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
|
||||
import collections
|
||||
import copy
|
||||
from Queue import Queue
|
||||
import re
|
||||
from six.moves.queue import Queue
|
||||
import threading
|
||||
import time
|
||||
|
||||
|
|
Loading…
Reference in New Issue