CleanTree: conform to snake_case naming style

This commit is contained in:
pawel
2019-12-30 17:05:45 +01:00
parent 691d771d56
commit 1880656579
+3 -3
View File
@@ -118,10 +118,10 @@ class CleanTree(BaseTree):
return self.tree.isfile(path)
def walk(self, top, topdown=True):
for r, d, fs in self.tree.walk(top, topdown):
d[:], fs[:] = self.dvcignore(r, d, fs)
for root, dirs, files in self.tree.walk(top, topdown):
dirs[:], files[:] = self.dvcignore(root, dirs, files)
yield r, d, fs
yield root, dirs, files
def walk_files(self, top):
for root, _, files in self.walk(top):