Skip to content
Permalink
Browse files
[BUGFIX][Processing] Vector tools -- add next methods for features it…
…erator
  • Loading branch information
rldhont committed Mar 15, 2017
1 parent 16f3282 commit 874c72631af8aec743c077c73d8171dac711afc4
Showing with 4 additions and 0 deletions.
  1. +4 −0 python/plugins/processing/tools/vector.py
@@ -120,6 +120,10 @@ def __len__(self):
else:
return int(self.layer.featureCount())

def next(self):
'''Iterator next method in python 2'''
return next(self.iter)

return Features(layer)


0 comments on commit 874c726

Please sign in to comment.