Exemple #1
0
 def __init__(self, command, status, output):
     RpcdError.__init__(self,
         tr('Command "%s" failed (exit code %s):\n%s'),
         command, status, output)
     self.command = command
     self.status = status
     self.output = output
Exemple #2
0
 def __init__(self, *args, **kwargs):
     RpcdError.__init__(self, NULOG, NULOG_REPORTING_ALREADY_EDITING, *args, **kwargs)
Exemple #3
0
 def __init__(self, *args, **kwargs):
     RpcdError.__init__(self, NULOG, NULOG_DATABASE_ERROR, *args, **kwargs)
Exemple #4
0
 def __init__(self, item):
     self.unresolvable = unicode(item)
     RpcdError.__init__(self, "Unable to resolve '%s'" % unicode(item))