Merge "Remove duplicated Firewall Concurrency testcases"
[yardstick.git] / ansible / filter_plugins / networks.py
index a157395..d67615a 100644 (file)
 # limitations under the License.
 
 
-from urlparse import urlsplit
+try:
+    from urlparse import urlsplit
+except ImportError:
+    from urllib.parse import urlsplit
 
 
 def do_prefix_to_netmask(arg):