From b68d2ee5f6a4b321c4da9d7d5c16f8dfbd55c947 Mon Sep 17 00:00:00 2001 From: wangxin Date: Mon, 20 Jul 2020 11:22:48 +0800 Subject: [PATCH] =?UTF-8?q?fix(python3=E4=B8=AD=E6=B2=A1=E6=9C=89long?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=EF=BC=8C=E6=95=B4=E5=BD=A2=E5=8F=AA=E6=9C=89?= =?UTF-8?q?int=E7=B1=BB=E5=9E=8B=EF=BC=8C=E5=8F=AF=E4=BB=A5=E5=BD=93?= =?UTF-8?q?=E5=81=9Along=E7=B1=BB=E5=9E=8B=E4=BD=BF=E7=94=A8)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 02-Keyword/tsg_bfapi/policy_object/Log.robot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/02-Keyword/tsg_bfapi/policy_object/Log.robot b/02-Keyword/tsg_bfapi/policy_object/Log.robot index 1c77c69..4b64634 100644 --- a/02-Keyword/tsg_bfapi/policy_object/Log.robot +++ b/02-Keyword/tsg_bfapi/policy_object/Log.robot @@ -130,8 +130,8 @@ toDigitList [Arguments] ${values} ${type} ${list} Create List FOR ${var} IN @{values} - ${var} Run Keyword If "${type}"=="int" Evaluate int('${var}') - ... ELSE Evaluate long('${var}') + #wx-fix python3中没有long类型,整形只有int类型,可以当做long类型使用 + ${var} Evaluate int('${var}') Append To List ${list} ${var} END [Return] ${list}