changeset 1453:9e90b4355ef7

BeDOZa: Implemented repr method in KeyList.
author Janus Dam Nielsen <janus.nielsen@alexandra.dk>
date Tue, 06 Jul 2010 10:52:44 +0200
parents b21e08471eb4
children 5a762613a0fb
files viff/bedoza.py
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/viff/bedoza.py	Tue Jul 06 10:46:45 2010 +0200
+++ b/viff/bedoza.py	Tue Jul 06 10:52:44 2010 +0200
@@ -67,6 +67,9 @@
     def __str__(self):
         return "(%s, %s)" % (self.alpha, str(self.keys))
 
+    def __repr__(self):
+        return str(self)
+    
 class BeDOZaMessageList(object):
 
     def __init__(self, auth_codes):