Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
0x45f committed Dec 8, 2021
1 parent ed60681 commit 2b6632e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/paddle/fluid/layers/control_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def select_input_with_buildin_type(inputs, mask):
if isinstance(false_var, Variable) and isinstance(true_var, Variable):
return select_input(inputs, mask)

elif (isinstance(false_var, (support_ret_buildin_type)) and isinstance(
false_var, type(true_var))):
elif (isinstance(false_var, (support_ret_buildin_type)) and
isinstance(false_var, type(true_var))):
if false_var == true_var:
return false_var
else:
Expand Down

1 comment on commit 2b6632e

@paddle-bot-old
Copy link

@paddle-bot-old paddle-bot-old bot commented on 2b6632e Dec 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🕵️ CI failures summary

🔍 PR: #37888 Commit ID: 2b6632e contains failed CI.

🔹 Failed: PR-CI-Mac-Python3

Unknown Failed
2021-12-08 22:35:31 + WITH_AVX=ON
2021-12-08 22:35:31 + INFERENCE_DEMO_INSTALL_DIR=/Users/paddle/.cache/inference_demo
2021-12-08 22:35:31 + distibuted_flag=OFF
2021-12-08 22:35:31 + gloo_flag=OFF
2021-12-08 22:35:31 + '[' maccheck_py35 '!=' assert_file_approvals ']'
2021-12-08 22:35:31 + python -m pip install distro
2021-12-08 22:35:31 Requirement already satisfied: distro in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (1.6.0)
2021-12-08 22:35:32 You are using pip version 18.1, however version 21.3.1 is available.
2021-12-08 22:35:32 You should consider upgrading via the 'pip install --upgrade pip' command.
2021-12-08 22:35:32 + python /home/Paddle/tools/summary_env.py
2021-12-08 22:51:14 paddle/scripts/paddle_build.sh: line 76: 3267 Killed: 9 python ${PADDLE_ROOT}/tools/summary_env.py
2021-12-08 22:51:14 + EXCODE=137
2021-12-08 22:51:14 + echo 'EXCODE: 137'
2021-12-08 22:51:14 EXCODE: 137
2021-12-08 22:51:14 + echo 'ipipe_log_param_EXCODE: 137'
2021-12-08 22:51:14 ipipe_log_param_EXCODE: 137
2021-12-08 22:51:14 + '[' 137 -eq 0 ']'
2021-12-08 22:51:14 + set +x
2021-12-08 22:51:14 + exit 137

Please sign in to comment.