|
@@ -206,8 +206,9 @@ def main(): |
|
|
if args.writeArtefactsFd3: |
|
|
if args.writeArtefactsFd3: |
|
|
with storage.lock(): |
|
|
with storage.lock(): |
|
|
artefacts = storage.list_new_files() |
|
|
artefacts = storage.list_new_files() |
|
|
for filename in artefacts: |
|
|
|
|
|
print(filename, file = artefactsFd) |
|
|
|
|
|
|
|
|
with artefactsFd: |
|
|
|
|
|
for filename in artefacts: |
|
|
|
|
|
print(filename, file = artefactsFd) |
|
|
|
|
|
|
|
|
if __name__ == '__main__': |
|
|
if __name__ == '__main__': |
|
|
main() |
|
|
main() |