changeset 50620 | 26e63204c31e |
parent 50613 | ae2de4cb7869 |
child 50928 | d718eddf01d9 |
--- a/mercurial/templateutil.py Fri Feb 03 02:57:49 2023 +0100 +++ b/mercurial/templateutil.py Thu Feb 02 17:37:51 2023 +0100 @@ -858,7 +858,7 @@ ) elif thing is None: pass - elif not util.safehasattr(thing, b'__iter__'): + elif not util.safehasattr(thing, '__iter__'): yield pycompat.bytestr(thing) else: for i in thing: