mirror of https://github.com/CIRCL/PyCIRCLean
Fix list_all_files docstring
parent
0be926c0eb
commit
774095d95a
|
@ -283,7 +283,7 @@ class KittenGroomerBase(object):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def _list_all_files(self, directory):
|
def _list_all_files(self, directory):
|
||||||
"""Generate an iterator over all the files in a directory tree."""
|
"""Generator yield path to all of the files in a directory tree."""
|
||||||
for root, dirs, files in os.walk(directory):
|
for root, dirs, files in os.walk(directory):
|
||||||
for filename in files:
|
for filename in files:
|
||||||
filepath = os.path.join(root, filename)
|
filepath = os.path.join(root, filename)
|
||||||
|
|
Loading…
Reference in New Issue