mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
Fixed E128 flake8 warnings in django/.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user