changeset 13:ecba406793df

py3
author Jeff Hammel <k0scist@gmail.com>
date Tue, 24 Nov 2020 10:40:39 -0800
parents 5a45f0c4cb87
children 57a44140a43b
files wordstream/handlers.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/wordstream/handlers.py	Tue Nov 24 10:38:47 2020 -0800
+++ b/wordstream/handlers.py	Tue Nov 24 10:40:39 2020 -0800
@@ -3,12 +3,12 @@
 these are instantiated for every request, then called
 """
 
-from urllib.request import urlopen
-
+from StringIO import StringIO
 from pprint import pprint
-from urlparse import urlparse
+from urlib.parse import urlparse
+from urllib.request import urlopen
 from webob import Response, exc
-from StringIO import StringIO
+
 from .api import Corpus
 from .dissociate import dissociate