Show More
@@ -36,6 +36,10 b' compatlist = templateutil.compatlist' | |||
|
36 | 36 | _showcompatlist = templateutil._showcompatlist |
|
37 | 37 | |
|
38 | 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 | 43 | context = templ # this is actually a template context, not a templater |
|
40 | 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