plone / plone.i18n

Text normalization logic and language, country, cctld data.
8 stars 11 forks source link

Error in listAvailableLanguageInformation #40

Open reinhardt opened 2 years ago

reinhardt commented 2 years ago
pl = api.portal.get_tool("portal_languages")
pl.listAvailableLanguageInformation()

*** TypeError: sort() takes no positional arguments
Traceback (most recent call last):
  File ".../plone.i18n-4.0.7-py3.8.egg/plone/i18n/utility.py", line 150, in listAvailableLanguageInformation
    new_langs.sort(
reinhardt commented 1 year ago

Tested again with current coredev 6.0, plone.i18n master (5.0.0a4) - still the same issue.