Fix all but one unit test.

This commit is contained in:
Luke Sneeringer
2014-11-07 14:26:31 -06:00
parent ec55603e3f
commit ed34d5f469
8 changed files with 9 additions and 13 deletions

View File

@@ -191,7 +191,7 @@ class BaseTask(Task):
# Log out the error to the debug logger.
logger.debug('Database error updating %s, retrying in 5 '
'seconds (retry #%d): %s',
self.model._meta.object_name, retry_count + 1, e)
self.model._meta.object_name, _attempt + 1, e)
# Attempt to retry the update, assuming we haven't already
# tried too many times.