Commits

Yoko Toka committed 02ee86c

i18n.LazyString: format can accept variable number of arguments

Patch by Temoto
https://github.com/temoto

Comments (0)

Files changed (1)

pylons/i18n/translation.py

     def __mod__(self, other):
         return self.eval() % other
 
-    def format(self, other):
-        return self.eval().format(other)
+    def format(self, *args):
+        return self.eval().format(*args)
 
 
 def lazify(func):