Merge "Fix wrong import from six.moves to make openstackwatch workable"
diff --git a/jeepyb/cmd/openstackwatch.py b/jeepyb/cmd/openstackwatch.py
index c984818..b81ec9c 100644
--- a/jeepyb/cmd/openstackwatch.py
+++ b/jeepyb/cmd/openstackwatch.py
@@ -32,7 +32,7 @@
import time
import PyRSS2Gen
-import six.moves.urllib.parse as urlparse
+import six.moves.urllib.request as urlrequest
PROJECTS = ['openstack/nova', 'openstack/keystone', 'opensack/swift']
JSON_URL = 'https://review.openstack.org/query'
@@ -94,7 +94,7 @@
url = CONFIG['json_url']
if project:
url += "+project:" + project
- fp = urlparse.urlretrieve(url)
+ fp = urlrequest.urlretrieve(url)
ret = open(fp[0]).read()
return ret