From 7516badab0cfc514ee859089c8aed0a1082c7143 Mon Sep 17 00:00:00 2001
From: Jean-Michel Picod <jmichel@google.com>
Date: Fri, 24 Apr 2020 12:45:58 +0200
Subject: [PATCH] Fix formating because of new style in yapf

---
 deploy.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/deploy.py b/deploy.py
index 486750d..639b70b 100755
--- a/deploy.py
+++ b/deploy.py
@@ -291,8 +291,8 @@ class OpenSKInstaller:
       # empty value.
       target_toolchain.append("")
     current_version = self.checked_command_output(["rustc", "--version"])
-    if not all((target_toolchain[0] in current_version,
-                target_toolchain[1] in current_version)):
+    if not (target_toolchain[0] in current_version and
+            target_toolchain[1] in current_version):
       info("Updating rust toolchain to {}".format("-".join(target_toolchain)))
       # Need to update
       self.checked_command_output(
-- 
GitLab