From 0df4da5b9119b57a2687cbd3679076af79b781b3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 23 Feb 2016 08:47:53 +0100 Subject: [PATCH] Also display XDG_* in crash reports --- qutebrowser/misc/crashdialog.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/misc/crashdialog.py b/qutebrowser/misc/crashdialog.py index 213c38187..161ce9308 100644 --- a/qutebrowser/misc/crashdialog.py +++ b/qutebrowser/misc/crashdialog.py @@ -96,7 +96,8 @@ def get_fatal_crash_dialog(debug, data): def _get_environment_vars(): """Gather environment variables for the crash info.""" - masks = ('DESKTOP_SESSION', 'DE', 'QT_*', 'PYTHON*', 'LC_*', 'LANG') + masks = ('DESKTOP_SESSION', 'DE', 'QT_*', 'PYTHON*', 'LC_*', 'LANG', + 'XDG_*') info = [] for key, value in os.environ.items(): for m in masks: