def customValidation(self):
    (information, warnings, critical) = ([], [], [])
    for designerKeyword in self.designerKeywords:
        if (not self.parent.parent.getDesignerByKeyword(designerKeyword)):
            critical.append(("Has designer '%s', but %s.designers has no matching designer." % (designerKeyword, self.parent.parent)))
    return (information, warnings, critical)
def customValidation(self):
    (information, warnings, critical) = ([], [], [])
    for designerKeyword in self.designerKeywords:
        if (not self.parent.parent.getDesignerByKeyword(designerKeyword)):
            critical.append(("Has designer '%s', but %s.designers has no matching designer." % (designerKeyword, self.parent.parent)))
    return (information, warnings, critical)