-
Committer:
Colin Watson
-
Date:
2020-07-22 22:28:49 UTC
-
Revision ID:
cjwatson@canonical.com-20200722222849-z17x22xvsyremy85
Port simple uses of str/unicode/basestring to Python 3.
Most cases are fairly obvious, but we need to pay some attention to whether
str is intended to be a byte string or a native string. basestring normally
means "native string or text" (i.e. six.string_types), but in a few places
it means "bytes or text" instead: in particular, the return value from
EntryResource.do_GET and CollectionResource.do_GET may be either.