don't print a 'Distribution' line in Windows error reports
This commit is contained in:
parent
4bbd5d5ee5
commit
8611494069
@ -169,10 +169,10 @@ class ErrorReportAssistant(ManagedWindow, Gtk.Assistant):
|
||||
"""
|
||||
if hasattr(os, "uname"):
|
||||
operatingsystem = os.uname()[0]
|
||||
distribution = os.uname()[2]
|
||||
else:
|
||||
distribution = "Distribution: %s\n" % os.uname()[2]
|
||||
else: # probably Windows
|
||||
operatingsystem = sys.platform
|
||||
distribution = " "
|
||||
distribution = "" # print nothing if there's nothing to print
|
||||
|
||||
sqlite = ''
|
||||
if __debug__:
|
||||
@ -185,7 +185,7 @@ class ErrorReportAssistant(ManagedWindow, Gtk.Assistant):
|
||||
"%s"\
|
||||
"LANG: %s\n"\
|
||||
"OS: %s\n"\
|
||||
"Distribution: %s\n\n"\
|
||||
"%s\n"\
|
||||
"GTK version : %s\n"\
|
||||
"gobject version: %s\n"\
|
||||
"cairo version : %s"\
|
||||
|
Loading…
x
Reference in New Issue
Block a user