summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/ext/vcs/vcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/vcs/vcs.py b/ranger/ext/vcs/vcs.py
index 4fca48c7..e0d434e0 100644
--- a/ranger/ext/vcs/vcs.py
+++ b/ranger/ext/vcs/vcs.py
@@ -94,7 +94,7 @@ class Vcs(object):
 
     def _path_contains(self, parent, path):
         """Checks wether path is an object belonging to the subtree in parent"""
-        if parent == path: return true
+        if parent == path: return True
         return os.path.commonprefix([parent, path]) == parent