logcmdutil: remove unused attribute 'cache' from jsonchangeset printer
authorYuya Nishihara <yuya@tcha.org>
Fri, 13 Apr 2018 22:20:13 +0900
changeset 37771 8c48a3c088a7
parent 37770 31750413f8d7
child 37772 814151cd8c4a
logcmdutil: remove unused attribute 'cache' from jsonchangeset printer Perhaps it's a copy-pasta of changeset_templater at bd15932846a4.
mercurial/logcmdutil.py
--- a/mercurial/logcmdutil.py	Fri Apr 13 22:58:49 2018 +0900
+++ b/mercurial/logcmdutil.py	Fri Apr 13 22:20:13 2018 +0900
@@ -317,7 +317,6 @@
 
     def __init__(self, ui, repo, differ=None, diffopts=None, buffered=False):
         changesetprinter.__init__(self, ui, repo, differ, diffopts, buffered)
-        self.cache = {}
         self._first = True
 
     def close(self):