mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
Cleanup of unicode magic methods, continued
This commit is contained in:
parent
7a535b35fa
commit
a9902a8f18
1 changed files with 0 additions and 5 deletions
|
|
@ -69,8 +69,6 @@ class Tag(models.Model):
|
|||
def __lt__(self, other):
|
||||
return str(self) < str(other)
|
||||
|
||||
def __repr__(self):
|
||||
return "<Tag: %s%s>" % (self.db_key, "(category:%s)" % self.db_category if self.db_category else "")
|
||||
|
||||
def __str__(self):
|
||||
return str("<Tag: %s%s>" % (self.db_key, "(category:%s)" % self.db_category if self.db_category else ""))
|
||||
|
|
@ -407,9 +405,6 @@ class TagHandler(object):
|
|||
def __str__(self):
|
||||
return ",".join(self.all())
|
||||
|
||||
def __unicode(self):
|
||||
return ",".join(self.all())
|
||||
|
||||
|
||||
class AliasHandler(TagHandler):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue