Skip to content

Commit

Permalink
Fix repo reference in ProcessExpirationsTask. (#661)
Browse files Browse the repository at this point in the history
  • Loading branch information
nworden committed Apr 29, 2019
1 parent 6826513 commit c50a371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/tasksmodule/deletion.py
Expand Up @@ -98,9 +98,9 @@ def post(self, request, *args, **kwargs):
delete.delete_person(None, person, send_notices=False)
cursor = next_cursor
except runtime.DeadlineExceededError:
self._schedule_task(repo, cursor)
self._schedule_task(self.env.repo, cursor)
except datastore_errors.Timeout:
self._schedule_task(repo, cursor)
self._schedule_task(self.env.repo, cursor)
return django.http.HttpResponse('')


Expand Down

0 comments on commit c50a371

Please sign in to comment.