Rename vars
This commit is contained in:
parent
ddb173af46
commit
57b88664d2
1 changed files with 8 additions and 8 deletions
|
@ -248,15 +248,15 @@ class ArtifactDeploymentApi:
|
||||||
)
|
)
|
||||||
|
|
||||||
def calculate_sha256(self, path: Path):
|
def calculate_sha256(self, path: Path):
|
||||||
sum = f"{path}.sha256"
|
shasum = f"{path}.sha256"
|
||||||
self.execution_api(
|
self.execution_api.execute(
|
||||||
f"sha256sum {path} > {sum}",
|
f"sha256sum {path} > {shasum}",
|
||||||
)
|
)
|
||||||
return sum
|
return shasum
|
||||||
|
|
||||||
def calculate_sha512(self, path: Path):
|
def calculate_sha512(self, path: Path):
|
||||||
sum = f"{path}.sha512"
|
shasum = f"{path}.sha512"
|
||||||
self.execution_api(
|
self.execution_api.execute(
|
||||||
f"sha512sum {path} > {sum}",
|
f"sha512sum {path} > {shasum}",
|
||||||
)
|
)
|
||||||
return sum
|
return shasum
|
||||||
|
|
Loading…
Reference in a new issue