misc: fix pylint errors with 2.10.2 version (#56489)
gitea-wip/wcs/pipeline/head Build started...
Details
gitea-wip/wcs/pipeline/head Build started...
Details
This commit is contained in:
parent
e704234efb
commit
1cc3c9ec31
|
@ -53,6 +53,10 @@ disable=
|
|||
unused-argument
|
||||
|
||||
|
||||
[TESTOPTIONS]
|
||||
ignored-parents=wcs.qommon.TenantAwareThread
|
||||
|
||||
|
||||
[REPORTS]
|
||||
output-format=parseable
|
||||
include-ids=yes
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -40,7 +40,7 @@ deps =
|
|||
django-ratelimit<3
|
||||
pyproj
|
||||
astroid!=2.5.7
|
||||
pylint<2.10
|
||||
pylint
|
||||
Quixote>=3.0,<3.2
|
||||
pre-commit
|
||||
pyzbar
|
||||
|
|
|
@ -205,7 +205,7 @@ class CompatWcsPublisher(WcsPublisher):
|
|||
output = self.try_publish(request)
|
||||
except PublishError as exc:
|
||||
output = self.finish_interrupted_request(exc)
|
||||
except Exception as exc:
|
||||
except Exception:
|
||||
output = self.finish_failed_request()
|
||||
response = request.response
|
||||
|
||||
|
|
Loading…
Reference in New Issue