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):
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue