Lines Matching defs:self
51 def __str__(self):
52 return "Bug %s does not exist" % (Exception.__str__(self))
55 def __str__(self):
56 return "Unknown bug database: %s" % (Exception.__str__(self))
71 def __init__(self, priority = ["illumos"]):
78 if database not in self.VALID_DBS:
80 self.__priority = priority
83 def __illbug(self, cr):
103 def lookup(self, crs):
117 for database in self.__priority:
121 results[str(cr)] = self.__illbug(cr)