Correction in II18n interface arguments
authorThierry Florac <thierry.florac@onf.fr>
Wed, 13 Jun 2018 12:30:28 +0200
changeset 69 2f095d24c23b
parent 68 a7669522e276
child 70 913c991fe861
Correction in II18n interface arguments
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"""