Patchwork D7262: templateutil: fix a missing ABCMeta assignment

login
register
mail settings
Submitter phabricator
Date Nov. 7, 2019, 8:31 a.m.
Message ID <06d12c2f3360e06cd3e9b8850c310349@localhost.localdomain>
Download mbox | patch
Permalink /patch/42863/
State Not Applicable
Headers show

Comments

phabricator - Nov. 7, 2019, 8:31 a.m.
Closed by commit rHG3e57809d3251: templateutil: fix a missing ABCMeta assignment (authored by durin42).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7262?vs=17632&id=17679

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7262/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7262

AFFECTED FILES
  mercurial/templateutil.py

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: dlax, mercurial-devel

Patch

diff --git a/mercurial/templateutil.py b/mercurial/templateutil.py
--- a/mercurial/templateutil.py
+++ b/mercurial/templateutil.py
@@ -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)