Пример #1
0
 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)
Пример #2
0
    def __init__(self, msg, fname=None):
        where = fname

        BibolamaziError.__init__(self, msg, where=where)