Browse Source

Add debug messages for artefacts listing

tags/v1.1
JustAnotherArchivist 1 year ago
parent
commit
c4e3fd29e0
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      codearchiver/cli.py

+ 2
- 0
codearchiver/cli.py View File

@@ -204,8 +204,10 @@ def main():
finally:
os.chdir('..')
if args.writeArtefactsFd3:
_logger.debug('Listing artefacts on FD 3')
with storage.lock():
artefacts = storage.list_new_files()
_logger.debug(f'Artefacts: {artefacts!r}')
with artefactsFd:
for filename in artefacts:
print(filename, file = artefactsFd)


Loading…
Cancel
Save