Skip to content
Permalink
Browse files

[processing] fix looping over features in Join Attributes alg (fix #1…

  • Loading branch information
alexbruy committed Apr 4, 2016
1 parent ff17645 commit 3ab6db168f58fbbc5de9490e74578a4af59a0b14
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/qgis/JoinAttributes.py
@@ -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:

1 comment on commit 3ab6db1

@m-kuhn

This comment has been minimized.

Copy link
Member

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

How about a small test case for this? ;)

Please sign in to comment.
You can’t perform that action at this time.