summaryrefslogtreecommitdiff
path: root/src/user.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-08-07 19:18:36 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-08-07 19:18:36 +0000
commit05928d592f76c7948a19981454d763feee51b2fb (patch)
tree8cd049bbc0d987fee219f51aa258be924274baab /src/user.py
parenteb36e08e11e8acac2db6a0422b5c9bd5ec9ab395 (diff)
downloadpoezio-05928d592f76c7948a19981454d763feee51b2fb.tar.gz
poezio-05928d592f76c7948a19981454d763feee51b2fb.tar.bz2
poezio-05928d592f76c7948a19981454d763feee51b2fb.tar.xz
poezio-05928d592f76c7948a19981454d763feee51b2fb.zip
completion is now sorted by last_talked. fixed #1712
Diffstat (limited to 'src/user.py')
-rw-r--r--src/user.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/user.py b/src/user.py
index c0a55d7b..5dbe77ce 100644
--- a/src/user.py
+++ b/src/user.py
@@ -59,5 +59,6 @@ class User(object):
return True
def __repr__(self):
- return "<user.User object nick:%s show:%s(%s) status:%s affiliation:%s>"\
- % (self.nick, self.show, type(self.show), self.status, self.affiliation)
+ return ">%s<" % (self.nick.decode('utf-8'))
+ # return "<user.User object nick:%s show:%s(%s) status:%s affiliation:%s>"\
+ # % (self.nick.decode('utf-8'), self.show, type(self.show), self.status, self.affiliation)