Skip to content

Commit

Permalink
Apply suggestion from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
agiudiceandrea authored Mar 4, 2024
1 parent 161eaed commit ab12db3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def processAlgorithm(self, parameters, context, feedback):
fid = random.choice(ids)
try:
f = next(source.getFeatures(request.setFilterFid(fid).setSubsetOfAttributes([])))
except:
except StopIteration:
ids.remove(fid)
continue

Expand Down

0 comments on commit ab12db3

Please sign in to comment.