common: fix duplicated PaymentResponse.__repr__
This commit is contained in:
parent
b0e66de926
commit
7586ed372c
|
@ -65,7 +65,7 @@ class PaymentResponse(object):
|
|||
self.test = test
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s %s>' % (self.__class__.__name__, self.__dict__)
|
||||
return '<%s %s>' % (self.__class__.__name__, repr(self.__dict__))
|
||||
|
||||
def is_received(self):
|
||||
return self.result == RECEIVED
|
||||
|
@ -79,9 +79,6 @@ class PaymentResponse(object):
|
|||
def is_error(self):
|
||||
return self.result == ERROR
|
||||
|
||||
def __repr__(self):
|
||||
return '<%s %s>' % (self.__class__.__name__, repr(self.__dict__))
|
||||
|
||||
|
||||
class PaymentCommon(object):
|
||||
PATH = '/tmp'
|
||||
|
|
Loading…
Reference in New Issue