Run 2to3.

This commit is contained in:
Ryan Stein 2017-10-29 13:40:30 -04:00
parent a5a8d9dd57
commit 6fa280b9fd
157 changed files with 976 additions and 976 deletions

View file

@ -141,7 +141,7 @@ class NAttributeHandler(object):
"""
if return_tuples:
return [(key, value) for (key, value) in self._store.items() if not key.startswith("_")]
return [(key, value) for (key, value) in list(self._store.items()) if not key.startswith("_")]
return [key for key in self._store if not key.startswith("_")]
@ -459,7 +459,7 @@ class ServerSession(Session):
def __unicode__(self):
"""Unicode representation"""
return u"%s" % str(self)
return "%s" % str(self)
# Dummy API hooks for use during non-loggedin operation