Minor fixes

This commit is contained in:
Ivan Kravets
2022-01-02 23:08:21 +02:00
parent 6081f9ff1b
commit c56dfda833
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ class AccountClient(HTTPClient): # pylint:disable=too-many-public-methods
try:
return super(AccountClient, self).fetch_json_data(*args, **kwargs)
except HTTPClientError as exc:
raise AccountError(str(HTTPClientError)) from exc
raise AccountError(exc) from exc
def login(self, username, password):
try:

View File

@ -2,4 +2,4 @@
filterwarnings =
error
# Marshmallow
ignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning
ignore:distutils Version classes are deprecated. Use packaging.version instead.