Reduce indentation levels
This commit is contained in:
parent
4cde8a0513
commit
e29ce70ca5
1 changed files with 27 additions and 25 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue