summaryrefslogtreecommitdiff
path: root/portato/gui/exception_handling.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-04-09 23:43:44 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-04-09 23:43:44 +0200
commitd8c4bacde00e2be0e5d5aaf7f85f139aae6a95d6 (patch)
tree12f088e6c07b690cccbcc073b744dc5760713918 /portato/gui/exception_handling.py
parent3cc84485184c1662fabb53f35df43a539021ff93 (diff)
parent359309950a1283dbbf9df6ce1085838087cfc262 (diff)
downloadportato-no_config.tar.gz
portato-no_config.tar.bz2
portato-no_config.zip
Merge branch 'master' into no_config to pickup the recent changes andno_config
fixes. Conflicts: portato/db/__init__.py portato/session.py
Diffstat (limited to 'portato/gui/exception_handling.py')
-rw-r--r--portato/gui/exception_handling.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/portato/gui/exception_handling.py b/portato/gui/exception_handling.py
index dbafa7e..d9b133c 100644
--- a/portato/gui/exception_handling.py
+++ b/portato/gui/exception_handling.py
@@ -99,7 +99,7 @@ def convert (version):
def get_version_infos():
from ..constants import VERSION, REVISION
from ..backend import system
- from ..db import _TYPE as db_type
+ from ..db import Database
if REVISION:
VERSION = "%s (git: %s)" % (VERSION, REVISION)
@@ -109,7 +109,7 @@ def get_version_infos():
"System: %s" % " ".join(get_runsystem()),
"Python version: %s" % sys.version,
"Used backend: %s" % system.get_version(),
- "Used database type: %s" % db_type,
+ "Used database type: %s" % Database.DB_TYPE,
"pygtk: %s (using GTK+: %s)" % (convert(gtk.pygtk_version), convert(gtk.gtk_version)),
"pygobject: %s (using GLib: %s)" % (convert(gobject.pygobject_version), convert(gobject.glib_version))))