##// END OF EJS Templates
templatekw: mark _showlist() as deprecated (API)...
Yuya Nishihara -
r37089:d3f7930a default
parent child Browse files
Show More
@@ -36,6 +36,10 b' compatlist = templateutil.compatlist'
36 _showcompatlist = templateutil._showcompatlist
36 _showcompatlist = templateutil._showcompatlist
37
37
38 def _showlist(name, values, templ, mapping, plural=None, separator=' '):
38 def _showlist(name, values, templ, mapping, plural=None, separator=' '):
39 ui = mapping.get('ui')
40 if ui:
41 ui.deprecwarn("templatekw._showlist() is deprecated, use "
42 "templateutil._showcompatlist()", '4.6')
39 context = templ # this is actually a template context, not a templater
43 context = templ # this is actually a template context, not a templater
40 return _showcompatlist(context, mapping, name, values, plural, separator)
44 return _showcompatlist(context, mapping, name, values, plural, separator)
41
45
General Comments 0
You need to be logged in to leave comments. Login now