chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
systemd-python: Journal convert_unicode exception handling change
[elogind.git]
/
src
/
python-systemd
/
journal.py
diff --git
a/src/python-systemd/journal.py
b/src/python-systemd/journal.py
index d61c30e1244c825ac3054443fbeb82cf52713963..5c5f5ca05b50883d7d8e9eeffddc085d621eccb4 100644
(file)
--- a/
src/python-systemd/journal.py
+++ b/
src/python-systemd/journal.py
@@
-113,7
+113,7
@@
class Journal(_Journal):
# Default conversion in unicode
try:
result = _convert_unicode(value)
- except:
+ except
UnicodeDecodeError
:
# Leave in default bytes
result = value
return result