mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-25 09:03:59 +00:00
Remove deprecated __unicode__
This commit is contained in:
@@ -193,7 +193,7 @@ class CoverArtImage:
|
||||
p.append("comment=%r" % self.comment)
|
||||
return "%s(%s)" % (self.__class__.__name__, ", ".join(p))
|
||||
|
||||
def __unicode__(self):
|
||||
def __str__(self):
|
||||
p = [u'Image']
|
||||
if self.url is not None:
|
||||
p.append(u"from %s" % self.url.toString())
|
||||
@@ -203,9 +203,6 @@ class CoverArtImage:
|
||||
p.append(u"and comment '%s'" % self.comment)
|
||||
return u' '.join(p)
|
||||
|
||||
def __str__(self):
|
||||
return string_(self).encode('utf-8')
|
||||
|
||||
def __eq__(self, other):
|
||||
if self and other:
|
||||
if self.types and other.types:
|
||||
|
||||
Reference in New Issue
Block a user