You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sub = local.path('sub_dir')
sub.mkdir()
with local.cwd(sub):
touch('misses_this.py')
sub2 = local.path('matching_sub_dir.py')
sub2.mkdir()
with local.cwd(sub2):
touch('catches_this.py')
touch('irrelevant.notpy')
The problem can be demonstrated with the following code:
Which yields:
Note that the Filtered list should include
/.../root_dir/sub_dir/misses_this.py
.Looking at
plumbum/path/base.py
, I think the solution might be dedenting lines 84, 85 and 86 a block, turninginto
The text was updated successfully, but these errors were encountered: