mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 10:07:14 +02:00
Minor fixes
This commit is contained in:
@ -73,7 +73,7 @@ class AccountClient(HTTPClient): # pylint:disable=too-many-public-methods
|
|||||||
try:
|
try:
|
||||||
return super(AccountClient, self).fetch_json_data(*args, **kwargs)
|
return super(AccountClient, self).fetch_json_data(*args, **kwargs)
|
||||||
except HTTPClientError as exc:
|
except HTTPClientError as exc:
|
||||||
raise AccountError(str(HTTPClientError)) from exc
|
raise AccountError(exc) from exc
|
||||||
|
|
||||||
def login(self, username, password):
|
def login(self, username, password):
|
||||||
try:
|
try:
|
||||||
|
@ -2,4 +2,4 @@
|
|||||||
filterwarnings =
|
filterwarnings =
|
||||||
error
|
error
|
||||||
# Marshmallow
|
# 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.
|
Reference in New Issue
Block a user