crecord: drop duplicated set of firstlineofpadtoprint attribute
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 10 Oct 2019 12:20:23 +0200
changeset 43158 ff615b6b5b8f
parent 43157 3460eee570f7
child 43159 b02387005515
crecord: drop duplicated set of firstlineofpadtoprint attribute The attribute is already set a couple of lines above, in curseschunkselector.__init__().
mercurial/crecord.py
--- a/mercurial/crecord.py	Thu Oct 10 10:53:13 2019 +0200
+++ b/mercurial/crecord.py	Thu Oct 10 12:20:23 2019 +0200
@@ -678,9 +678,6 @@
         # (used for determining when the selected item begins/ends)
         self.linesprintedtopadsofar = 0
 
-        # the first line of the pad which is visible on the screen
-        self.firstlineofpadtoprint = 0
-
         # stores optional text for a commit comment provided by the user
         self.commenttext = b""