diff options
-rw-r--r-- | ranger/ext/vcs/vcs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/ext/vcs/vcs.py b/ranger/ext/vcs/vcs.py index dfd187cb..52802cfa 100644 --- a/ranger/ext/vcs/vcs.py +++ b/ranger/ext/vcs/vcs.py @@ -268,7 +268,7 @@ class Vcs(object): if path: path = os.path.join(self.root, path) if os.path.commonprefix([self.root, path]) == self.root: - return {p: st for p, st in self.status.items() if self._path_contains(path, os.path.join(self.root, p))} + return dict((p, st) for p, st in self.status.items() if self._path_contains(path, os.path.join(self.root, p))) else: return {} else: |