Skip to content


Browse files Browse the repository at this point in the history
[processing] fix looping over features in Join Attributes alg (fix #1…
  • Loading branch information
alexbruy committed Apr 4, 2016
1 parent ff17645 commit 3ab6db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/
Expand Up @@ -83,7 +83,7 @@ def processAlgorithm(self, progress):
cache = {}
features = vector.features(layer2)
total = 100.0 / len(features)
for current, feat in features:
for current, feat in enumerate(features):
attrs = feat.attributes()
joinValue2 = unicode(attrs[joinField2Index])
if joinValue2 not in cache:
Expand Down

1 comment on commit 3ab6db1

Copy link

@m-kuhn m-kuhn commented on 3ab6db1 Apr 4, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about a small test case for this? ;)

Please sign in to comment.