diff options
author | hut <hut@lavabit.com> | 2013-02-27 02:02:20 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2013-02-27 02:02:20 +0100 |
commit | 7ae01ec2b63948dbe3a802e34ca339a2c12bc730 (patch) | |
tree | d261e48a046dcd83e9846800df61daa2a4ddfb34 /ranger | |
parent | 47bc59859328f8fa2c0446a13c3d25acdf946710 (diff) | |
download | ranger-7ae01ec2b63948dbe3a802e34ca339a2c12bc730.tar.gz |
fsobject.fsobject: fix crash with vcs_aware=true
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/fsobject/fsobject.py | 2 |
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' |