mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-17 00:09:36 -04:00
Indendation
This commit is contained in:
parent
4f1f7a8af8
commit
1b22dcc8a6
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user