Merge "Keep py3.X compatibility for urllib"
diff --git a/jeepyb/cmd/openstackwatch.py b/jeepyb/cmd/openstackwatch.py
index 1798d48..c984818 100644
--- a/jeepyb/cmd/openstackwatch.py
+++ b/jeepyb/cmd/openstackwatch.py
@@ -30,9 +30,9 @@
 import os
 import sys
 import time
-import urllib
 
 import PyRSS2Gen
+import six.moves.urllib.parse as urlparse
 
 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 = urllib.urlretrieve(url)
+    fp = urlparse.urlretrieve(url)
     ret = open(fp[0]).read()
     return ret
 
diff --git a/requirements.txt b/requirements.txt
index e6f46b6..b155078 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,3 +9,4 @@
 pkginfo
 PyRSS2Gen
 python-swiftclient
+six>=1.4.1