revert bogus change

This commit is contained in:
Konstantin Lopuhin 2016-01-18 19:00:40 +03:00
parent f876654a0c
commit 120fb4adeb
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class Response(object_ref):
return self._url
def _set_url(self, url):
if isinstance(url, six.string_types):
if isinstance(url, str):
self._url = url
else:
raise TypeError('%s url must be str, got %s:' % (type(self).__name__,