xrange alias not propogating so we need to set it explicitly in some places (#268)

This commit is contained in:
zcutlip 2020-05-26 09:59:40 -07:00 committed by GitHub
parent ba413dcbc1
commit 0b7a2fba88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,2 @@
if not hasattr(__builtins__, "xrange"):
xrange = range

View File

@ -0,0 +1,2 @@
if not hasattr(__builtins__, "xrange"):
xrange = range

View File

@ -10,6 +10,8 @@ from voltron.api import *
from voltron.plugin import *
from voltron.dbg import *
from voltron.plugins.debugger import xrange
try:
import lldb
HAVE_LLDB = True