Explorar el Código

Add debug messages for artefacts listing

tags/v1.1
JustAnotherArchivist hace 1 año
padre
commit
c4e3fd29e0
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. +2
    -0
      codearchiver/cli.py

+ 2
- 0
codearchiver/cli.py Ver fichero

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


Cargando…
Cancelar
Guardar