Example #1
0
 def __init__(self, message, filename):
     Error.__init__(self, message)
     self.filename = filename
Example #2
0
File: config.py Project: kmohrf/vmm
 def __init__(self, section, option):
     Error.__init__(
         self,
         "Option %r in section %r has no default value" % (option, section))
Example #3
0
 def __init__(self, message, filename):
     Error.__init__(self, message)
     self.filename = filename
Example #4
0
 def __init__(self, option):
     Error.__init__(self, "No option %r" % (option))
     self.option = option
     self.args = (option)