Mercurial > hg
changeset 43464:3e57809d3251
templateutil: fix a missing ABCMeta assignment
Caught by pytype.
Differential Revision: https://phab.mercurial-scm.org/D7262
author | Augie Fackler <augie@google.com> |
---|---|
date | Wed, 06 Nov 2019 17:46:12 -0500 |
parents | 271af23d01a9 |
children | 90aac60b6697 |
files | mercurial/templateutil.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/templateutil.py Wed Nov 06 15:15:00 2019 -0500 +++ b/mercurial/templateutil.py Wed Nov 06 17:46:12 2019 -0500 @@ -111,6 +111,8 @@ class mappable(object): """Object which can be converted to a single template mapping""" + __metaclass__ = abc.ABCMeta + def itermaps(self, context): yield self.tomap(context)