mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Reduce indentation levels
This commit is contained in:
@ -141,8 +141,10 @@ class AbiChecker(object):
|
|||||||
self.log.info(output.decode("utf-8"))
|
self.log.info(output.decode("utf-8"))
|
||||||
if process.returncode != 0:
|
if process.returncode != 0:
|
||||||
raise Exception("git submodule update failed, aborting")
|
raise Exception("git submodule update failed, aborting")
|
||||||
if (os.path.exists(os.path.join(git_worktree_path, "crypto"))
|
if not (os.path.exists(os.path.join(git_worktree_path, "crypto"))
|
||||||
and crypto_rev):
|
and crypto_rev):
|
||||||
|
return
|
||||||
|
|
||||||
if crypto_repo:
|
if crypto_repo:
|
||||||
shutil.rmtree(os.path.join(git_worktree_path, "crypto"))
|
shutil.rmtree(os.path.join(git_worktree_path, "crypto"))
|
||||||
clone_process = subprocess.Popen(
|
clone_process = subprocess.Popen(
|
||||||
|
Reference in New Issue
Block a user