提交 f628207a 编写于 作者: X Xu Han

[qemu] Python 3: Update long()

Signed-off-by: NXu Han <xuhan@redhat.com>
上级 4bcad5ed
......@@ -109,7 +109,7 @@ def run(test, params, env):
if key in exception_list:
continue
if '0x' in val:
val = long(val, 16)
val = int(val, 16)
val_str = str(bin(val))
com_str = ""
for p in range(3, len(val_str)):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册