From 6019e090a17ec432f532d1b0f5088de16f83fe38 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 7 Nov 2016 17:52:50 +0100 Subject: [PATCH] Fix get_coredumpctl_traces.py --- scripts/dev/get_coredumpctl_traces.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/dev/get_coredumpctl_traces.py b/scripts/dev/get_coredumpctl_traces.py index 76936e319..49620a96a 100644 --- a/scripts/dev/get_coredumpctl_traces.py +++ b/scripts/dev/get_coredumpctl_traces.py @@ -77,7 +77,11 @@ def get_info(pid): for line in output.split('\n'): if not line.strip(): continue - key, value = line.split(':', maxsplit=1) + try: + key, value = line.split(':', maxsplit=1) + except ValueError: + # systemd stack output + continue data[key.strip()] = value.strip() return data