diff --git a/plumbum/path.py b/plumbum/path.py index 4b2a8ff6a..d970ef364 100644 --- a/plumbum/path.py +++ b/plumbum/path.py @@ -87,7 +87,7 @@ def walk(self, filter = lambda p: True): #@ReservedAssignment if filter(p): yield p if p.isdir(): - for p2 in p.walk(): + for p2 in p.walk(filter): yield p2 @property