Skip to content
Snippets Groups Projects
Commit bb9a2ff3 authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Log which files are processed.

parent a8a878de
No related branches found
No related tags found
No related merge requests found
...@@ -60,6 +60,8 @@ if __name__ == '__main__': ...@@ -60,6 +60,8 @@ if __name__ == '__main__':
file.stem.startswith(args.variable)] file.stem.startswith(args.variable)]
LOGGER.info('Files matching "{}" for variable "{}":'.format( LOGGER.info('Files matching "{}" for variable "{}":'.format(
args.pattern, args.variable)) args.pattern, args.variable))
LOGGER.info(('\n ' + (len(__name__) + 1) * ' ').join(
['{}'.format(file) for file in source]))
# check whether to only print which files would be processed # check whether to only print which files would be processed
if not args.dry_run: if not args.dry_run:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment