From d78e8f23a6c469766315e863da7aa1531ab0d491 Mon Sep 17 00:00:00 2001 From: Qiao Longfei Date: Thu, 1 Nov 2018 10:17:47 +0800 Subject: [PATCH] code format test=develop --- python/paddle/fluid/transpiler/distribute_transpiler.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/paddle/fluid/transpiler/distribute_transpiler.py b/python/paddle/fluid/transpiler/distribute_transpiler.py index fecae9898c8..7ae98b49201 100644 --- a/python/paddle/fluid/transpiler/distribute_transpiler.py +++ b/python/paddle/fluid/transpiler/distribute_transpiler.py @@ -769,7 +769,8 @@ in a single call.") lookup_table_var_name_to_block_id) if len(optimize_blocks) == 0: - logging.warn("pserver [" + str(endpoint) + "] has no optimize block!!") + logging.warn("pserver [" + str(endpoint) + + "] has no optimize block!!") pre_block_idx = pserver_program.num_blocks - 1 empty_block = pserver_program._create_block(pre_block_idx) optimize_blocks.append(empty_block) -- GitLab