Skip to content
This repository has been archived by the owner on Jan 14, 2023. It is now read-only.

Commit

Permalink
Remove deprecated is_empty() method from send_notifications.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean Cochrane (Lead developer, DataMade) committed Jul 31, 2019
1 parent 9a3c3f0 commit f74e508
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions notifications/management/commands/send_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ def add_arguments(self, parser):
help='Comma separated list of usernames to send notifications to.'
)

def _is_empty(self, elem):
return len(elem) > 0

def handle(self, *args, **options):
users = NotificationsUser.objects.all()
# Helper function to filter a list for non-empty elements.
Expand Down

0 comments on commit f74e508

Please sign in to comment.