We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3789030 commit 02f743fCopy full SHA for 02f743f
qencode/metadata.py
@@ -1,6 +1,6 @@
1
import time
2
-import urllib2
3
+from ._compat import urlopen
4
from .exceptions import QencodeTaskException
5
from .task import Task
6
@@ -38,6 +38,6 @@ def get(self, uri):
38
if url is None:
39
raise QencodeTaskException('No metadata URL found in status response')
40
41
- data = urllib2.urlopen(url).read()
+ data = urlopen(url).read()
42
43
return data
0 commit comments