Fix depth_params for python3.

This commit is contained in:
Markus Lampert
2017-07-03 12:17:30 -07:00
parent dadb172771
commit 9ff4e3aa8a

View File

@@ -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):
"""