display_debug_info: add global sys.executable (#947)

This helps with bug reports in general.
This commit is contained in:
Daniel Hahler
2019-09-19 00:46:16 +02:00
committed by GitHub
parent 4f2499e4f2
commit 89c995e7d9

View File

@@ -33,6 +33,7 @@ def format_exc_info(exc_info=None, tb_indent=2):
def display_debug_info():
echo(' - global sys.executable: `{0}`'.format(sys.executable))
echo(' - global sys.version: `{0}`'.format(
', '.join([x.strip()
for x in sys.version.split('\n')])))