khard/carddav_object.py
def _get_roles(self):
        """
        :rtype: list(list(str))
        """
        roles = []
        for child in self.vcard.getChildren():
            if child.name == "ROLE":
                roles.append(child.value)
        return sorted(roles)
def _get_roles(self):
        """
        :rtype: list(list(str))
        """
        roles = []
        for child in self.vcard.getChildren():
            if child.name == "ROLE":
                roles.append(child.value)
        return sorted(roles)
def _get_roles ( self ) : roles = [ ] for child in self . vcard . getChildren ( ) : if child . name == "ROLE" : roles . append ( child . value ) return sorted ( roles )
:rtype: list(list(str))
: rtype : list ( list ( str ))