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:
Sun Austin 2018-12-28 16:33:35 +08:00 committed by Austin Sun
parent 7d306ed822
commit bb65ec36e6
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -15,8 +15,8 @@
import collections
import copy
from Queue import Queue
import re
from six.moves.queue import Queue
import threading
import time