Commit df658ae0 authored by Kai Willadsen's avatar Kai Willadsen Fix tree cache for some per-VC wrangling

parent 4c8d0fd2
......@@ -196,7 +196,7 @@ class Vc(object):
raise NotImplementedError()
def _get_tree_cache(self, directory):
if self._tree_cache is None:
if not self._tree_cache:
self._tree_cache = self.cache_tree(directory)
return self._tree_cache
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment