Procházet zdrojové kódy

Add debug messages for artefacts listing

tags/v1.1
JustAnotherArchivist před 1 rokem
rodič
revize
c4e3fd29e0
1 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. +2
    -0
      codearchiver/cli.py

+ 2
- 0
codearchiver/cli.py Zobrazit soubor

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


Načítá se…
Zrušit
Uložit