Ran
|
Jobs
1
|
Files
150
|
Run time
9s
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/certbot/certbot/commit/<a class=hub.com/certbot/certbot/commit/1d66187d632bd8601dfafe0efdf2066f1973b646">1d66187d6<a href="https://github.com/certbot/certbot/commit/1d66187d632bd8601dfafe0efdf2066f1973b646">">Fixes #4719 (#4737) * Automatically delete temp log file when not used. This allows close() calls in logging.shutdown() to cause the file to be deleted when no logging output has been written to the file. * Make certbot.log.MemoryHandler.flush() a noop. This causes MemoryHandler.flush() calls in logging.shutdown to be a noop, allowing us to control when the handler is actually flushed. This prevents log records from being sent to a temporary file handler for things like `certbot --version`. * Keep reference to certbot.log.MemoryHandler.target In Python 2.7+, the logging module only keeps weak references to created logging handlers. Because of this, the MemoryHandler&#39;s target will not be properly flushed and closed when logging.shutdown() is called on program exit unless we keep a reference to it in the MemoryHandler. * Fixes #4719. This completes the changes necessary to fix #4719. Now temporary log files are not created if sys.exit() is called before logging is fully set up. These files are still created if Certbot crashes for any other reason. * Document pre_arg_parse_except_hook args. (cherry picked from commit </a><a class="double-link" href="https://github.com/certbot/certbot/commit/<a class="double-link" href="https://github.com/certbot/certbot/commit/93310fe67c2f854593f5acb8bf74c914d6d81743">93310fe67</a>">93310fe67</a><a href="https://github.com/certbot/certbot/commit/1d66187d632bd8601dfafe0efdf2066f1973b646">)
47 of 47 new or added lines in 2 files covered. (100.0%)
18656 of 18861 relevant lines covered (98.91%)
0.99 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 7407.1 (TOXENV=cover) | 150 |
98.91 |
Travis Job 7407.1 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|