Fix verbose grammar
Fix verbose grammar about "import as." Change-Id: If7841e177c47b00a52fd4638a21295e14ebc110f
This commit is contained in:
parent
dd3bd291e6
commit
7295698fde
@ -28,12 +28,12 @@ import re
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
# For Python 3.0 and later
|
# For Python 3.0 and later
|
||||||
from urllib.error import HTTPError as HTTPError
|
from urllib.error import HTTPError
|
||||||
import urllib.request as urllib
|
import urllib.request as urllib
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# Fall back to Python 2's urllib2
|
# Fall back to Python 2's urllib2
|
||||||
import urllib2 as urllib
|
import urllib2 as urllib
|
||||||
from urllib2 import HTTPError as HTTPError
|
from urllib2 import HTTPError
|
||||||
|
|
||||||
|
|
||||||
url = 'https://review.openstack.org/projects/'
|
url = 'https://review.openstack.org/projects/'
|
||||||
|
Loading…
Reference in New Issue
Block a user