viff

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 diff
     1.1 --- a/viff/bedoza.py	Tue Jul 06 10:46:45 2010 +0200
     1.2 +++ b/viff/bedoza.py	Tue Jul 06 10:52:44 2010 +0200
     1.3 @@ -67,6 +67,9 @@
     1.4      def __str__(self):
     1.5          return "(%s, %s)" % (self.alpha, str(self.keys))
     1.6  
     1.7 +    def __repr__(self):
     1.8 +        return str(self)
     1.9 +    
    1.10  class BeDOZaMessageList(object):
    1.11  
    1.12      def __init__(self, auth_codes):