summaryrefslogtreecommitdiff
path: root/django/dispatch
diff options
context:
space:
mode:
Diffstat (limited to 'django/dispatch')
-rw-r--r--django/dispatch/dispatcher.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/django/dispatch/dispatcher.py b/django/dispatch/dispatcher.py
index 2878ffac02..052c72c777 100644
--- a/django/dispatch/dispatcher.py
+++ b/django/dispatch/dispatcher.py
@@ -144,8 +144,7 @@ class Signal(object):
the unique identifier of the receiver to disconnect
"""
if weak is not None:
- warnings.warn("Passing `weak` to disconnect has no effect.",
- RemovedInDjango20Warning, stacklevel=2)
+ warnings.warn("Passing `weak` to disconnect has no effect.", RemovedInDjango20Warning, stacklevel=2)
if dispatch_uid:
lookup_key = (dispatch_uid, _make_id(sender))
else: