# HG changeset patch # User Thierry Florac # Date 1528885828 -7200 # Node ID 2f095d24c23b1c29a61c54bac1489657a75d1db2 # Parent a7669522e276369f7b3c966d7c5453a9ca0aab2d Correction in II18n interface arguments diff -r a7669522e276 -r 2f095d24c23b src/pyams_i18n/interfaces/__init__.py --- a/src/pyams_i18n/interfaces/__init__.py Mon Jun 11 16:06:48 2018 +0200 +++ b/src/pyams_i18n/interfaces/__init__.py Wed Jun 13 12:30:28 2018 +0200 @@ -105,5 +105,5 @@ def get_attribute(self, attribute, lang=None, request=None, default=None): """Get attribute in given language""" - def query_attribute(self, attribute, request=None): + def query_attribute(self, attribute, lang=None, request=None): """Query attribute in given language"""