fixup: files
This commit is contained in:
parent
7817ae5e8b
commit
be0ff68411
1 changed files with 2 additions and 4 deletions
|
|
@ -92,10 +92,8 @@ def main(options, checksums, cache, output):
|
||||||
f"{cache}/{checksum}",
|
f"{cache}/{checksum}",
|
||||||
f"{output}/{checksum}"],
|
f"{output}/{checksum}"],
|
||||||
check=True)
|
check=True)
|
||||||
except FileExistsError:
|
except subprocess.CalledProcessError as e:
|
||||||
continue
|
json.dump({"error": e.output}, sys.stdout)
|
||||||
except Exception as e:
|
|
||||||
json.dump({"error": e.message}, sys.stdout)
|
|
||||||
return 1
|
return 1
|
||||||
|
|
||||||
json.dump({}, sys.stdout)
|
json.dump({}, sys.stdout)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue