mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Flake8 remove trailing white space
This commit is contained in:
parent
ed3fc4a3d1
commit
87bfe0410e
|
@ -128,7 +128,7 @@ class SimpleRouter(BaseRouter):
|
||||||
def __init__(self, trailing_slash=True):
|
def __init__(self, trailing_slash=True):
|
||||||
if isinstance(trailing_slash, str):
|
if isinstance(trailing_slash, str):
|
||||||
self.trailing_slash = trailing_slash
|
self.trailing_slash = trailing_slash
|
||||||
else:
|
else:
|
||||||
self.trailing_slash = trailing_slash and '/' or ''
|
self.trailing_slash = trailing_slash and '/' or ''
|
||||||
super(SimpleRouter, self).__init__()
|
super(SimpleRouter, self).__init__()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user