Skip to content

Commit

Permalink
path.walk: pass filter recursively. closes #64
Browse files Browse the repository at this point in the history
  • Loading branch information
tomerfiliba committed May 10, 2013
1 parent 023fc93 commit da9a6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plumbum/path.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da9a6fb

Please sign in to comment.