Fix depth_params for python3.

This commit is contained in:
Markus Lampert
2017-07-03 12:17:30 -07:00
parent c4fc809a12
commit 6f6d4631d3

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