mirror of
https://github.com/dnlbauer/django-signposting.git
synced 2026-09-10 22:15:30 +00:00
linting
This commit is contained in:
@@ -13,5 +13,5 @@ def add_signposts(response: HttpResponse, *args: Signpost):
|
||||
response._signposts = []
|
||||
|
||||
for signpost in args:
|
||||
if not signpost in response._signposts:
|
||||
response._signposts.append(signpost)
|
||||
if signpost not in response._signposts:
|
||||
response._signposts.append(signpost)
|
||||
|
||||
Reference in New Issue
Block a user