Commit bb6ad786 authored by Dan Pascu's avatar Dan Pascu

Removed duplicate function

parent 588a6979
......@@ -92,9 +92,6 @@ class Contact(object):
def __repr__(self):
return '%s(%r, %r, %r, %r)' % (self.__class__.__name__, self.group, self.name, self.uri, self.image)
def __unicode__(self):
return '%s <%s>' % (self.name, self.uri) if self.name else self.uri
def __str__(self):
return unicode(self).encode(sys.stdout.encoding)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment