Remove __unicode__ magic methods no longer needed
This commit is contained in:
parent
c3df77b678
commit
7a535b35fa
8 changed files with 10 additions and 29 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue