Rename vars

This commit is contained in:
erik 2023-08-16 12:11:08 +02:00
parent ddb173af46
commit 57b88664d2

View file

@ -248,15 +248,15 @@ class ArtifactDeploymentApi:
)
def calculate_sha256(self, path: Path):
sum = f"{path}.sha256"
self.execution_api(
f"sha256sum {path} > {sum}",
shasum = f"{path}.sha256"
self.execution_api.execute(
f"sha256sum {path} > {shasum}",
)
return sum
return shasum
def calculate_sha512(self, path: Path):
sum = f"{path}.sha512"
self.execution_api(
f"sha512sum {path} > {sum}",
shasum = f"{path}.sha512"
self.execution_api.execute(
f"sha512sum {path} > {shasum}",
)
return sum
return shasum