From c6b6cd73608257876f2e3b478c6183dc984181b4 Mon Sep 17 00:00:00 2001 From: toonn Date: Sat, 5 Feb 2022 19:29:56 +0100 Subject: Revert "vcs: Drop disappeared Pylint options" This reverts commit 8b462b245399af66bb2b7dd31ed360548804416b. --- ranger/ext/vcs/vcs.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ranger/ext/vcs/vcs.py b/ranger/ext/vcs/vcs.py index 455bd175..5619ed19 100644 --- a/ranger/ext/vcs/vcs.py +++ b/ranger/ext/vcs/vcs.py @@ -88,6 +88,7 @@ class Vcs(object): # pylint: disable=too-many-instance-attributes if self.root: if self.is_root: self.rootvcs = self + # pylint: disable=invalid-class-object self.__class__ = globals()[self.REPOTYPES[self.repotype]['class'] + 'Root'] if not os.access(self.repodir, os.R_OK): @@ -101,6 +102,7 @@ class Vcs(object): # pylint: disable=too-many-instance-attributes if self.rootvcs is None or self.rootvcs.root is None: return self.rootvcs.links |= self.links + # pylint: disable=invalid-class-object self.__class__ = globals()[self.REPOTYPES[self.repotype]['class']] self.track = self.rootvcs.track -- cgit 1.4.1-2-gfad0