# HG changeset patch # User Jeff Hammel # Date 1606243239 28800 # Node ID ecba406793dfb165c9d3d22ff7f89d91a2e6631d # Parent 5a45f0c4cb8797b0a4b8f30443696d448ed4c7f7 py3 diff -r 5a45f0c4cb87 -r ecba406793df wordstream/handlers.py --- 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