mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 23:11:33 +00:00
Implement recursive file lookup in FileManager.files
This commit is contained in:
parent
5cc1ab2c8d
commit
944066d699
@ -26,7 +26,7 @@ class FileManager:
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def files(self):
|
def files(self):
|
||||||
return [file for file in glob(self._workdir) if isfile(file)]
|
return [file for file in glob(join(self._workdir, '**/*'), recursive=True) if isfile(file)]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def file_contents(self):
|
def file_contents(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user