diff options
Diffstat (limited to 'ranger/config/commands.py')
-rw-r--r-- | ranger/config/commands.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ranger/config/commands.py b/ranger/config/commands.py index c98f36f9..94304f1c 100644 --- a/ranger/config/commands.py +++ b/ranger/config/commands.py @@ -1169,7 +1169,7 @@ class stage(Command): Stage selected files for the corresponding version control system """ def execute(self): - from ranger.vcs import VcsError + from ranger.ext.vcs import VcsError filelist = [f.path for f in self.fm.thistab.get_selection()] self.fm.thisdir.vcs_outdated = True @@ -1191,7 +1191,7 @@ class unstage(Command): Unstage selected files for the corresponding version control system """ def execute(self): - from ranger.vcs import VcsError + from ranger.ext.vcs import VcsError filelist = [f.path for f in self.fm.thistab.get_selection()] self.fm.thisdir.vcs_outdated = True @@ -1213,7 +1213,7 @@ class diff(Command): Displays a diff of selected files against last last commited version """ def execute(self): - from ranger.vcs import VcsError + from ranger.ext.vcs import VcsError import tempfile L = self.fm.thistab.get_selection() @@ -1241,7 +1241,7 @@ class log(Command): Displays the log of the current repo or files """ def execute(self): - from ranger.vcs import VcsError + from ranger.ext.vcs import VcsError import tempfile L = self.fm.thistab.get_selection() |