ソースを参照

Add debug messages for artefacts listing

tags/v1.1
JustAnotherArchivist 1年前
コミット
c4e3fd29e0
1個のファイルの変更2行の追加0行の削除
  1. +2
    -0
      codearchiver/cli.py

+ 2
- 0
codearchiver/cli.py ファイルの表示

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


読み込み中…
キャンセル
保存