Skip to content

Commit

Permalink
[processing] iteritems() removed, should use items() instead
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy authored and volaya committed Dec 1, 2016
1 parent 40053f8 commit f002321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/qgis/RasterCalculator.py
Expand Up @@ -101,7 +101,7 @@ def processAlgorithm(self, progress):
layersDict[name] = lyr

entries = []
for name, lyr in layersDict.iteritems():
for name, lyr in layersDict.items():
for n in xrange(lyr.bandCount()):
entry = QgsRasterCalculatorEntry()
entry.ref = '%s@%i' % (name, n + 1)
Expand Down

0 comments on commit f002321

Please sign in to comment.