sources: fix indentation
Fix indentation to make pylint happy.
This commit is contained in:
parent
84dcadc7d2
commit
c337af6795
1 changed files with 9 additions and 6 deletions
|
|
@ -136,12 +136,15 @@ def main(options, checksums, cache, output):
|
|||
|
||||
for checksum in checksums:
|
||||
try:
|
||||
subprocess.run([
|
||||
"cp",
|
||||
"--reflink=auto",
|
||||
f"{cache}/{checksum}",
|
||||
f"{output}/{checksum}"],
|
||||
check=True)
|
||||
subprocess.run(
|
||||
[
|
||||
"cp",
|
||||
"--reflink=auto",
|
||||
f"{cache}/{checksum}",
|
||||
f"{output}/{checksum}",
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
except subprocess.CalledProcessError as e:
|
||||
json.dump({"error": e.output}, sys.stdout)
|
||||
return 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue