ExtraData should be UnpackValueError

This commit is contained in:
INADA Naoki 2016-02-14 11:46:28 +09:00
parent e15085db03
commit d90008d4f5
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class UnpackValueError(UnpackException, ValueError):
pass
class ExtraData(ValueError):
class ExtraData(UnpackValueError):
def __init__(self, unpacked, extra):
self.unpacked = unpacked
self.extra = extra