Mercurial > public > mercurial-scm > hg
comparison mercurial/templateutil.py @ 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 | d783f945a701 |
children | 70d42e2ad9b4 |
comparison
equal
deleted
inserted
replaced
43463:271af23d01a9 | 43464:3e57809d3251 |
---|---|
108 """ | 108 """ |
109 | 109 |
110 | 110 |
111 class mappable(object): | 111 class mappable(object): |
112 """Object which can be converted to a single template mapping""" | 112 """Object which can be converted to a single template mapping""" |
113 | |
114 __metaclass__ = abc.ABCMeta | |
113 | 115 |
114 def itermaps(self, context): | 116 def itermaps(self, context): |
115 yield self.tomap(context) | 117 yield self.tomap(context) |
116 | 118 |
117 @abc.abstractmethod | 119 @abc.abstractmethod |