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

@ -138,7 +138,7 @@ class AccountDB(TypedObject, AbstractUser):
def __str__(self):
return smart_str("%s(account %s)" % (self.name, self.dbid))
def __unicode__(self):
def __repr__(self):
return "%s(account#%s)" % (self.name, self.dbid)
#@property