Skip to content

Commit f002321

Browse files
alexbruyvolaya
authored andcommittedDec 1, 2016
[processing] iteritems() removed, should use items() instead
1 parent 40053f8 commit f002321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/plugins/processing/algs/qgis/RasterCalculator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def processAlgorithm(self, progress):
101101
layersDict[name] = lyr
102102

103103
entries = []
104-
for name, lyr in layersDict.iteritems():
104+
for name, lyr in layersDict.items():
105105
for n in xrange(lyr.bandCount()):
106106
entry = QgsRasterCalculatorEntry()
107107
entry.ref = '%s@%i' % (name, n + 1)

0 commit comments

Comments
 (0)
Please sign in to comment.