Fixes python3 non-compatible import of urlparse
Implements: release-yaml-file-prep.py python3 compatibility Closes-Bug: #1712546 Change-Id: I97f46c017b2cad6f8be757c529ccacd6c971757c
This commit is contained in:
parent
0f9c3d5bb7
commit
85d24272bc
@ -24,7 +24,12 @@
|
||||
|
||||
from __future__ import print_function
|
||||
from cStringIO import StringIO
|
||||
from urlparse import urlparse
|
||||
|
||||
try:
|
||||
from urllib.parse import urlparse
|
||||
except ImportError:
|
||||
from urlparse import urlparse
|
||||
|
||||
|
||||
import argparse
|
||||
import re
|
||||
|
Loading…
x
Reference in New Issue
Block a user