Skip to content

Commit

Permalink
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 6, 2016
1 parent e40a164 commit 505c5ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/JoinAttributes.py
Expand Up @@ -79,7 +79,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

0 comments on commit 505c5ee

Please sign in to comment.