Add missing self argument to exception constructors.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
This commit is contained in:
brian m. carlson 2014-12-11 23:38:19 +00:00
parent 5a1ffec85d
commit eadf33033f
No known key found for this signature in database
GPG key ID: BF535D811F52F68B

View file

@ -15,7 +15,7 @@ class LocaleError(NewfolError):
class SchemaError(NewfolError):
def __init__(msg):
def __init__(self, msg):
super().__init__("Schema file %s" % msg)
@ -28,7 +28,7 @@ class FilemanipError(Exception):
class CorruptFileError(FilemanipError):
def __init__(type, msg):
def __init__(self, type, msg):
super().__init__("%s file is corrupt (%s)" % (type, msg))