summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/fsobject/fsobject.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index c714cf24..ce04371c 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -231,7 +231,7 @@ class FileSystemObject(FileManagerAware):
                 backend_state = self.settings.vcs_backend_git
             elif self.vcs.vcsname == 'hg':
                 backend_state = self.settings.vcs_backend_hg
-            elif item.vcs.vcsname == 'bzr':
+            elif self.vcs.vcsname == 'bzr':
                 backend_state = self.settings.vcs_backend_bzr
             else:
                 backend_state = 'disabled'