[Checkins] [zopefoundation/ZConfig] 63465a: use self._open instead of builtins.open
GitHub
noreply at github.com
Tue Dec 4 15:44:40 CET 2018
Branch: refs/heads/fd-logfile-delay-and-encoding
Home: https://github.com/zopefoundation/ZConfig
Commit: 63465a89730160fe9c8e8123b2115527829eb921
https://github.com/zopefoundation/ZConfig/commit/63465a89730160fe9c8e8123b2115527829eb921
Author: Fred Drake <fred.drake at keepertech.com>
Date: 2018-12-04 (Tue, 04 Dec 2018)
Changed paths:
M ZConfig/components/logger/loghandler.py
Log Message:
-----------
use self._open instead of builtins.open
logging.FileHandler._open already deals with py2/py3 compatiblity, and handles
all the parameters to open a file in a consistent way; no need to reimplement
in just one case
**NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/
Functionality will be removed from GitHub.com on January 31st, 2019.
More information about the checkins
mailing list