Merge pull request #251 from kaykurokawa/fix_unknonwname_exc
fixing UnknownNameError exception initialization
This commit is contained in:
commit
28bf5215e4
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ class KeyFeeAboveMaxAllowed(Exception):
|
||||||
|
|
||||||
class UnknownNameError(Exception):
|
class UnknownNameError(Exception):
|
||||||
def __init__(self, name):
|
def __init__(self, name):
|
||||||
Exception.__init__('Name {} is unknown'.format(name))
|
Exception.__init__(self, 'Name {} is unknown'.format(name))
|
||||||
self.name = name
|
self.name = name
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue