def __init__(self, msg, fname=None, lineno=None): where = None if (fname is not None): where = fname if (lineno is not None): where += ", line %d" %(lineno) BibolamaziError.__init__(self, msg, where=where)
def __init__(self, msg, fname=None): where = fname BibolamaziError.__init__(self, msg, where=where)