Merge pull request #251 from kaykurokawa/fix_unknonwname_exc

fixing UnknownNameError exception initialization
This commit is contained in:
Umpei Kay Kurokawa 2016-11-09 12:37:03 -05:00 committed by GitHub
commit 28bf5215e4

View file

@ -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