Пример #1
0
 def __init__(self, text):
     BaseError.__init__(self, "domain failure: %s" % (text,))
     self.text = text
Пример #2
0
 def __init__(self, text):
     BaseError.__init__(self, "domain failure: %s" % (text, ))
     self.text = text
Пример #3
0
 def __init__(self, filename, setting):
     BaseError.__init__(
         self, "setting %s points at %s, which doesn't exist."
         % (setting, filename))
     self.file, self.setting = filename, setting
Пример #4
0
 def __init__(self, filename, setting):
     BaseError.__init__(
         self, "setting %s points at %s, which doesn't exist." %
         (setting, filename))
     self.file, self.setting = filename, setting