Skip to content

Commit 7a9018e

Browse files
committedOct 4, 2016
fix indentation
1 parent b5f1267 commit 7a9018e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎python/plugins/processing/algs/qgis/ui/FieldsCalculatorDialog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def initContext(self):
9999
exp_context.lastScope().setVariable("row_number", 1)
100100
exp_context.setHighlightedVariables(["row_number"])
101101
self.builder.setExpressionContext(exp_context)
102-
102+
103103
def updateLayer(self):
104104
self.layer = dataobjects.getObject(self.cmbInputLayer.currentText())
105105
self.builder.setLayer(self.layer)

‎python/plugins/processing/tools/vector.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ def spatialindex(layer):
203203
request = QgsFeatureRequest()
204204
request.setSubsetOfAttributes([])
205205
if ProcessingConfig.getSetting(ProcessingConfig.USE_SELECTED) \
206-
and layer.selectedFeatureCount() > 0:
206+
and layer.selectedFeatureCount() > 0:
207207
idx = layer.selectedFeaturesIterator(request)
208208
else:
209209
idx = QgsSpatialIndex(layer.getFeatures(request))

0 commit comments

Comments
 (0)
Please sign in to comment.