def country_vocabulary(self): return country_vocabulary()
def CountryVocabulary(context): """VocabularyFactory for countries from ISO3166 source. """ return SimpleVocabulary([SimpleTerm(value=k, title=v) for k, v in country_vocabulary()])
def CountryVocabulary(context): """VocabularyFactory for countries from ISO3166 source. """ return SimpleVocabulary( [SimpleTerm(value=k, title=v) for k, v in country_vocabulary()])