Indendation

This commit is contained in:
Nyall Dawson 2016-02-26 14:08:37 +11:00
parent 4f1f7a8af8
commit 1b22dcc8a6
2 changed files with 3 additions and 3 deletions

View File

@ -95,9 +95,9 @@ class AlgorithmsTest():
"""
Loads an array of parameters
"""
if type(params) == list:
if isinstance(params, list):
return [self.load_param(p) for p in params]
elif type(params) == dict:
elif isinstance(params, dict):
return {key: self.load_param(p) for key, p in params.iteritems()}
else:
return params

View File

@ -92,7 +92,7 @@ class QgsSelectedFeature: public QObject
* Inverts selection of a set of vertices at once.
* @param vertexIndices list of vertex indices to invert whether or not they are selected
*/
void invertVertexSelection(QVector<int> vertexIndices );
void invertVertexSelection( QVector<int> vertexIndices );
/**
* Tells if vertex is selected