Remove __unicode__ magic methods no longer needed

This commit is contained in:
Griatch 2019-01-30 23:50:43 +01:00
parent c3df77b678
commit 7a535b35fa
8 changed files with 10 additions and 29 deletions

View file

@ -471,8 +471,7 @@ class ServerSession(Session):
address = self.address
return "%s%s@%s" % (self.uname, symbol, address)
def __unicode__(self):
"""Unicode representation"""
def __repr__(self):
return "%s" % str(self)
# Dummy API hooks for use during non-loggedin operation