Imported Upstream version 1.36.0
[platform/upstream/grpc.git] / test / cpp / qps / gen_build_yaml.py
index 8163d7f..4438b3c 100755 (executable)
@@ -77,7 +77,8 @@ def guess_cpu(scenario_json, is_tsan):
     server = threads_required(scenario_json, 'server', is_tsan)
     # make an arbitrary guess if set to auto-detect
     # about the size of the jenkins instances we have for unit tests
-    if client == 0 or server == 0: return 'capacity'
+    if client == 0 or server == 0:
+        return 'capacity'
     return (scenario_json['num_clients'] * client +
             scenario_json['num_servers'] * server)