mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 16:40:03 +03:00
Linting
This commit is contained in:
parent
551773208a
commit
2189067051
|
@ -93,10 +93,10 @@ class ErrorDetail(str):
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
if self.params:
|
if self.params:
|
||||||
return 'ErrorDetail(string=%r, code=%r, params=%s)' % (
|
return 'ErrorDetail(string=%r, code=%r, params=%s)' % (
|
||||||
str(self),
|
str(self),
|
||||||
self.code,
|
self.code,
|
||||||
self.params
|
self.params
|
||||||
)
|
)
|
||||||
|
|
||||||
return 'ErrorDetail(string=%r, code=%r)' % (
|
return 'ErrorDetail(string=%r, code=%r)' % (
|
||||||
str(self),
|
str(self),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user