From bfb779188ff0c5b049c17f8f2e034848d7537cbe Mon Sep 17 00:00:00 2001 From: Serge Guelton Date: Thu, 21 Mar 2019 14:41:34 +0000 Subject: [PATCH] Portable int/long conversion across Python 2 / Python 3 Differential Revision: https://reviews.llvm.org/D59585 llvm-svn: 356671 --- lldb/examples/python/jump.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/examples/python/jump.py b/lldb/examples/python/jump.py index 6e41b4c..e33a6a6 100644 --- a/lldb/examples/python/jump.py +++ b/lldb/examples/python/jump.py @@ -78,7 +78,7 @@ def parse_linespec(linespec, frame, result): if (mo is not None): matched = True # print "Matched " - address = long(mo.group(1), base=0) + address = int(mo.group(1), base=0) breakpoint = target.BreakpointCreateByAddress(address) if (not matched): -- 2.7.4