From 970a113b5318abb5459d0a98813c231cbd422744 Mon Sep 17 00:00:00 2001 From: Param Kapur Date: Sun, 24 Nov 2019 22:21:18 +0530 Subject: [PATCH] Changed multi-line string (#5846) This string wasn't rendering properly and was printing the python statement too. Although the change isn't as pretty code-wise, it gets rid of an annoyance for the user. --- celery/fixups/django.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/celery/fixups/django.py b/celery/fixups/django.py index e3694645c18..fe2a17224e6 100644 --- a/celery/fixups/django.py +++ b/celery/fixups/django.py @@ -199,5 +199,5 @@ def close_cache(self): def on_worker_ready(self, **kwargs): if self._settings.DEBUG: - warnings.warn('Using settings.DEBUG leads to a memory leak, never ' - 'use this setting in production environments!') + warnings.warn('''Using settings.DEBUG leads to a memory + leak, never use this setting in production environments!''')