[odrs-web/production] Fix traceback when printing a OdrsUser



commit 26be9ba57aabd04375f6cb9f5b54e61775a307c5
Author: Richard Hughes <richard hughsie com>
Date:   Tue Sep 27 12:04:11 2016 +0100

    Fix traceback when printing a OdrsUser

 user.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/user.py b/user.py
index e0e1710..2897c57 100644
--- a/user.py
+++ b/user.py
@@ -28,4 +28,4 @@ class OdrsUser(object):
         return str(self.id)
 
     def __repr__(self):
-        return '<User %r>' % (self.nickname)
+        return '<User %r>' % (self.id)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]