summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarian Sigler <m@qjym.de>2012-09-21 01:40:57 +0200
committerMarian Sigler <m@qjym.de>2012-09-21 01:40:57 +0200
commit5a4ecaddb41f6085ea43127376e519bf2454236a (patch)
tree7ce1d675c8b364b94b79fd34250e5f3fcdfd1844
parentaeda2ad731d86c8c70841da3457c3f7fc36ad954 (diff)
downloadweb-5a4ecaddb41f6085ea43127376e519bf2454236a.tar.gz
web-5a4ecaddb41f6085ea43127376e519bf2454236a.tar.bz2
web-5a4ecaddb41f6085ea43127376e519bf2454236a.zip
change Account.__repr__
-rw-r--r--account.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/account.py b/account.py
index ef70d9d..d29755c 100644
--- a/account.py
+++ b/account.py
@@ -213,8 +213,8 @@ class Account:
self.new_password_services = {}
- def __str__(self):
- return "Account(uid=%s)" % self.uid
+ def __repr__(self):
+ return "<Account uid=%s>" % self.uid
def change_password(self, new_password, service = None):