diff mercurial/templater.py @ 38225:d48b80d58848

templater: unify unwrapvalue() with _unwrapvalue() All weird generators got removed from the hgweb codebase. We still have inconsistent behavior regarding join() of a byte string, which will be addressed later.
author Yuya Nishihara <yuya@tcha.org>
date Wed, 04 Apr 2018 21:06:14 +0900
parents e887381e2976
children 7824783a6d5e
line wrap: on
line diff
--- a/mercurial/templater.py	Wed Apr 04 21:01:21 2018 +0900
+++ b/mercurial/templater.py	Wed Apr 04 21:06:14 2018 +0900
@@ -26,9 +26,6 @@
     values of any printable types, and  will be folded by ``stringify()``
     or ``flatten()``.
 
-    BUG: hgweb overloads this type for mappings (i.e. some hgweb keywords
-    returns a generator of dicts.)
-
 None
     sometimes represents an empty value, which can be stringified to ''.