We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f46766d commit fd7bb7cCopy full SHA for fd7bb7c
2 files changed
CHANGES/3351.misc
@@ -0,0 +1 @@
1
+Toned down the logging level of the "home directory not found" warning when looking for .netrc
aiohttp/helpers.py
@@ -170,8 +170,8 @@ def netrc_from_env() -> Optional[netrc.netrc]:
170
home_dir = Path.home()
171
except RuntimeError as e: # pragma: no cover
172
# if pathlib can't resolve home, it may raise a RuntimeError
173
- client_logger.warning('Could not resolve home directory when '
174
- 'trying to look for .netrc file: %s', e)
+ client_logger.debug('Could not resolve home directory when '
+ 'trying to look for .netrc file: %s', e)
175
return None
176
177
netrc_path = home_dir / (
0 commit comments