From patchwork Thu Apr 12 16:17:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1, of, 9] formatter: remove unused private attributes from baseformatter From: Yuya Nishihara X-Patchwork-Id: 30807 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Fri, 13 Apr 2018 01:17:04 +0900 # HG changeset patch # User Yuya Nishihara # Date 1523543073 -32400 # Thu Apr 12 23:24:33 2018 +0900 # Node ID e6609e390f284931c10f06f3c8258769fad9bbc5 # Parent 9c7a25ef5b49f3ce2fe698b58246b622ca9fd382 formatter: remove unused private attributes from baseformatter No idea what they were for. diff --git a/mercurial/formatter.py b/mercurial/formatter.py --- a/mercurial/formatter.py +++ b/mercurial/formatter.py @@ -160,8 +160,6 @@ class baseformatter(object): def __init__(self, ui, topic, opts, converter): self._ui = ui self._topic = topic - self._style = opts.get("style") - self._template = opts.get("template") self._converter = converter self._item = None # function to convert node to string suitable for this output