Progress towards dual Python 2 & 3

This commit is contained in:
Sei Lisa 2020-11-09 02:28:57 +01:00
parent dde9577cea
commit f8cf78dfac
10 changed files with 100 additions and 80 deletions

View file

@ -19,6 +19,7 @@
from lslopt import lslfuncs
from lslopt.lslcommon import nr
from strutil import xrange
class deadcode(object):
@ -530,7 +531,7 @@ class deadcode(object):
self.MarkReferences(statedef)
# Track removal of global lines, to reasign locations later.
LocMap = range(len(self.tree))
LocMap = list(range(len(self.tree)))
GlobalDeletions = []