Removed long for python 3

long is no longer a separate type.
This commit is contained in:
freemansw1 2016-04-14 10:11:15 -06:00
parent 40409c451c
commit 07d271cacf

View file

@ -45,7 +45,11 @@ INVALID_VALUE = numpy.float64(-999999)
class Level(object):
def __init__(self, levelString=None):
try:
self.id = 0L
except SyntaxError:
#we are in python 3, no longer a separate long.
self.id=0
self.identifier = None
self.masterLevel = None
self.levelonevalue = INVALID_VALUE