bugfixes
This commit is contained in:
13
will.py
13
will.py
@@ -15,8 +15,8 @@ MIN_LOCKTIME = 1
|
||||
MIN_BLOCK = 1
|
||||
_logger = get_logger(__name__)
|
||||
|
||||
#return an array with the list of children
|
||||
class Will:
|
||||
#return an array with the list of children
|
||||
def get_children(will,willid):
|
||||
out = []
|
||||
for _id in will:
|
||||
@@ -744,10 +744,11 @@ class WillItem(Logger):
|
||||
else:
|
||||
return "#ffffff"
|
||||
|
||||
|
||||
class WillExpiredException(Exception):
|
||||
class WillException(Exception):
|
||||
pass
|
||||
class NotCompleteWillException(Exception):
|
||||
class WillExpiredException(WillException):
|
||||
pass
|
||||
class NotCompleteWillException(WillException):
|
||||
pass
|
||||
class HeirChangeException(NotCompleteWillException):
|
||||
pass
|
||||
@@ -761,9 +762,9 @@ class NoWillExecutorNotPresent(NotCompleteWillException):
|
||||
pass
|
||||
class WillExecutorNotPresent(NotCompleteWillException):
|
||||
pass
|
||||
class NoHeirsException(Exception):
|
||||
class NoHeirsException(WillException):
|
||||
pass
|
||||
class AmountException(Exception):
|
||||
class AmountException(WillException):
|
||||
pass
|
||||
class PercAmountException(AmountException):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user