Ver código fonte

Add debug messages for artefacts listing

tags/v1.1
JustAnotherArchivist 1 ano atrás
pai
commit
c4e3fd29e0
1 arquivos alterados com 2 adições e 0 exclusões
  1. +2
    -0
      codearchiver/cli.py

+ 2
- 0
codearchiver/cli.py Ver arquivo

@@ -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)


Carregando…
Cancelar
Salvar