def getRejectionReasonsItems(self):
        """Return the list of predefined rejection reasons
        """
        reasons = self.getRejectionReasons()
        if not reasons:
            return []
        reasons = reasons[0]
        keys = filter(lambda key: key != "checkbox", reasons.keys())
        return map(lambda key: reasons[key], sorted(keys)) or []
def getRejectionReasonsItems ( self ) : reasons = self . getRejectionReasons ( ) if not reasons : return [ ] reasons = reasons [ 0 ] keys = filter ( lambda key : key != "checkbox" , reasons . keys ( ) ) return map ( lambda key : reasons [ key ] , sorted ( keys ) ) or [ ]
Return the list of predefined rejection reasons