# HG changeset patch # User Augie Fackler # Date 1573080372 18000 # Node ID 3e57809d3251bef33ffab47d340c22cfa6437f22 # Parent 271af23d01a98ecf87c30c156535fe20be129620 templateutil: fix a missing ABCMeta assignment Caught by pytype. Differential Revision: https://phab.mercurial-scm.org/D7262 diff -r 271af23d01a9 -r 3e57809d3251 mercurial/templateutil.py --- 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)