Fix depth_params for python3.
This commit is contained in:
@@ -765,12 +765,15 @@ class depth_params:
|
||||
def __iter__(self):
|
||||
return self
|
||||
|
||||
def next(self):
|
||||
def __next__(self):
|
||||
if self.index == len(self.data):
|
||||
raise StopIteration
|
||||
self.index = self.index + 1
|
||||
return self.data[self.index - 1]
|
||||
|
||||
def next(self):
|
||||
return self.__next__()
|
||||
|
||||
@property
|
||||
def clearance_height(self):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user