Skip to content

Commit

Permalink
[processing] correctly raise exception (fix #17148)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Sep 27, 2017
1 parent faa9134 commit 59904fb
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -62,7 +62,7 @@ def processAlgorithm(self, progress):

selected = layer.selectedFeaturesIds()
if len(selected) == 0:
GeoAlgorithmExecutionException(
raise GeoAlgorithmExecutionException(
self.tr('There is no selection in the input layer. '
'Select one feature and try again.'))

Expand Down

0 comments on commit 59904fb

Please sign in to comment.