summaryrefslogtreecommitdiff
path: root/portato/gui/exception_handling.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/exception_handling.py')
-rw-r--r--portato/gui/exception_handling.py17
1 files changed, 3 insertions, 14 deletions
diff --git a/portato/gui/exception_handling.py b/portato/gui/exception_handling.py
index a5174f5..2e9c76c 100644
--- a/portato/gui/exception_handling.py
+++ b/portato/gui/exception_handling.py
@@ -3,7 +3,7 @@
# File: portato/gui/exception_handling.py
# This file is part of the Portato-Project, a graphical portage-frontend.
#
-# Copyright (C) 2007-2009 René 'Necoro' Neumann
+# Copyright (C) 2006-2009 René 'Necoro' Neumann
# This is free software. You may redistribute copies of it under the terms of
# the GNU General Public License version 2.
# There is NO WARRANTY, to the extent permitted by law.
@@ -18,7 +18,7 @@ import sys, traceback, os
from StringIO import StringIO
-from ..helper import debug, error
+from ..helper import debug, error, get_runsystem
from .dialogs import file_chooser_dialog, io_ex_dialog
from .windows.mailinfo import MailInfoWindow
from .utils import GtkThread
@@ -101,20 +101,9 @@ def get_version_infos():
from ..constants import VERSION
from ..backend import system
- runsystem="Unknown"
- if os.path.exists("/etc/gentoo-release"):
- runsystem = "Gentoo"
- else:
- for sp in ("/etc/sabayon-release", "/etc/sabayon-edition"):
- if os.path.exists(sp):
- with open(sp) as r:
- runsystem = "Sabayon: %s" % r.readline().strip()
- break
-
-
return "\n".join((
"Portato version: %s" % VERSION,
- "System: %s" % runsystem,
+ "System: %s" % " ".join(get_runsystem()),
"Python version: %s" % sys.version,
"Used backend: %s" % system.get_version(),
"pygtk: %s (using GTK+: %s)" % (convert(gtk.pygtk_version), convert(gtk.gtk_version)),