From a5dc4ab856255416e8881ab7d178d46b47285163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sat, 25 Mar 2017 12:30:18 -0400 Subject: journal: fix repr of JournalHandler to match python3.6 We get in older versions, and in since Python 3.6. https://github.com/python/cpython/commit/c0752011472790e34d171b89f4b862cc3fd8ad08 --- systemd/journal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systemd/journal.py b/systemd/journal.py index cb37150..cc0b8aa 100644 --- a/systemd/journal.py +++ b/systemd/journal.py @@ -542,7 +542,7 @@ class JournalHandler(_logging.Handler): program: >>> JournalHandler(SYSLOG_IDENTIFIER='my-cool-app') - + <...JournalHandler ...> The following journal fields will be sent: `MESSAGE`, `PRIORITY`, `THREAD_NAME`, `CODE_FILE`, `CODE_LINE`, `CODE_FUNC`, `LOGGER` (name as -- cgit v1.2.1