khard/carddav_object.py
def _get_organisations(self):
        """
        :returns: list of organisations, sorted alphabetically
        :rtype: list(list(str))
        """
        organisations = []
        for child in self.vcard.getChildren():
            if child.name == "ORG":
                organisations.append(child.value)
        return sorted(organisations)
def _get_organisations(self):
        """
        :returns: list of organisations, sorted alphabetically
        :rtype: list(list(str))
        """
        organisations = []
        for child in self.vcard.getChildren():
            if child.name == "ORG":
                organisations.append(child.value)
        return sorted(organisations)
def _get_organisations ( self ) : organisations = [ ] for child in self . vcard . getChildren ( ) : if child . name == "ORG" : organisations . append ( child . value ) return sorted ( organisations )
:returns: list of organisations, sorted alphabetically
        :rtype: list(list(str))
: returns : list of organisations sorted alphabetically : rtype : list ( list ( str ))