diff --git a/google_api_lib/tasks.py b/google_api_lib/tasks.py index eb591160..82cbdf81 100644 --- a/google_api_lib/tasks.py +++ b/google_api_lib/tasks.py @@ -673,9 +673,7 @@ def update_active_users(self, hunt_id): hunt.save() except IntegrityError: # attempt to avoid the error next time by clearing cache - logger.warning( - "IntegrityError while updating active users, clearing cache" - ) + logger.warning("IntegrityError while updating active users, clearing cache") cache.clear()