Skip to content

Commit

Permalink
Change empty list to empty set
Browse files Browse the repository at this point in the history
  • Loading branch information
LePetitTim committed Jan 8, 2019
1 parent 29b36db commit 03883cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotrek/common/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ def start(self):
if kwargs:
self.to_delete = set(self.model.objects.filter(**kwargs).values_list('pk', flat=True))
else:
self.to_delete = []
self.to_delete = set()

def end(self):
if self.delete:
Expand Down

0 comments on commit 03883cc

Please sign in to comment.