Skip to content

Commit

Permalink
Indendation
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 26, 2016
1 parent 4f1f7a8 commit 1b22dcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions python/plugins/processing/tests/AlgorithmsTestBase.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ def load_params(self, params):
""" """
Loads an array of parameters Loads an array of parameters
""" """
if type(params) == list: if isinstance(params, list):
return [self.load_param(p) for p in params] 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()} return {key: self.load_param(p) for key, p in params.iteritems()}
else: else:
return params return params
Expand Down
2 changes: 1 addition & 1 deletion src/app/nodetool/qgsselectedfeature.h
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class QgsSelectedFeature: public QObject
* Inverts selection of a set of vertices at once. * Inverts selection of a set of vertices at once.
* @param vertexIndices list of vertex indices to invert whether or not they are selected * @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 * Tells if vertex is selected
Expand Down

0 comments on commit 1b22dcc

Please sign in to comment.