summaryrefslogtreecommitdiff
path: root/portato/gui/exception_handling.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-03-16 02:55:26 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-03-16 03:02:57 +0100
commit0ed08eba908d3b0ca8fcc282c387c03f95250147 (patch)
tree9c4f09749f59a181de77e6e580e76a099aa33e1e /portato/gui/exception_handling.py
parentdde6c85455fdcfd933c18c65a2c038c14093f525 (diff)
downloadportato-0ed08eba908d3b0ca8fcc282c387c03f95250147.tar.gz
portato-0ed08eba908d3b0ca8fcc282c387c03f95250147.tar.bz2
portato-0ed08eba908d3b0ca8fcc282c387c03f95250147.zip
Rewrote the database initialization to be a class instead of a function
Diffstat (limited to '')
-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))))
class='deletions'>-1/+1 2014-04-18reencryption: only reencrypt files when requiredJason A. Donenfeld2-16/+37 2014-04-17cp: typo as cvJason A. Donenfeld1-1/+1 2014-04-17bash: gpg_id is localJason A. Donenfeld1-0/+1 2014-04-17move/copy: always reencrypt passwords at destinationJason A. Donenfeld5-25/+56 2014-04-17makefile: allow platform files with gnu sedJason A. Donenfeld1-7/+8 2014-04-17mv: Add pass mv/rename supportJason A. Donenfeld5-3/+78 2014-04-17revelation2pass: add plain XML importJavali1-11/+15 2014-04-17platform: add cygwin supportJason A. Donenfeld2-1/+17