Skip to content

Commit 1b22dcc

Browse files
committed
Indendation
1 parent 4f1f7a8 commit 1b22dcc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

python/plugins/processing/tests/AlgorithmsTestBase.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ def load_params(self, params):
9595
"""
9696
Loads an array of parameters
9797
"""
98-
if type(params) == list:
98+
if isinstance(params, list):
9999
return [self.load_param(p) for p in params]
100-
elif type(params) == dict:
100+
elif isinstance(params, dict):
101101
return {key: self.load_param(p) for key, p in params.iteritems()}
102102
else:
103103
return params

src/app/nodetool/qgsselectedfeature.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class QgsSelectedFeature: public QObject
9292
* Inverts selection of a set of vertices at once.
9393
* @param vertexIndices list of vertex indices to invert whether or not they are selected
9494
*/
95-
void invertVertexSelection(QVector<int> vertexIndices );
95+
void invertVertexSelection( QVector<int> vertexIndices );
9696

9797
/**
9898
* Tells if vertex is selected

0 commit comments

Comments
 (0)