misc: fix pylint errors with 2.10.2 version (#56489)
gitea-wip/wcs/pipeline/head Build started... Details

This commit is contained in:
Lauréline Guérin 2021-08-30 16:38:04 +02:00
parent e704234efb
commit 1cc3c9ec31
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
3 changed files with 6 additions and 2 deletions

View File

@ -53,6 +53,10 @@ disable=
unused-argument
[TESTOPTIONS]
ignored-parents=wcs.qommon.TenantAwareThread
[REPORTS]
output-format=parseable
include-ids=yes

View File

@ -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

View File

@ -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