summaryrefslogtreecommitdiff
path: root/portato/db
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2009-02-24 18:26:38 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2009-02-24 18:26:38 +0100
commitc768119cc7ade2018f7ab0ae0da0515bee36de60 (patch)
tree8846cd07eb121d0d332d92efd5e20fe5f1ae5baa /portato/db
parent8e3257caa9f70192794d9594feb0da489bdfc720 (diff)
parent3f02f33cc7bd3546453d22d072131218d5cdc1d0 (diff)
downloadportato-c768119cc7ade2018f7ab0ae0da0515bee36de60.tar.gz
portato-c768119cc7ade2018f7ab0ae0da0515bee36de60.tar.bz2
portato-c768119cc7ade2018f7ab0ae0da0515bee36de60.zip
More 0.12 stuff
Diffstat (limited to '')
-rw-r--r--portato/db/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py
index f83659c..da8a81e 100644
--- a/portato/db/__init__.py
+++ b/portato/db/__init__.py
@@ -38,8 +38,7 @@ def Database(type):
from .sql import SQLDatabase
except ImportError:
warning(_("Cannot load SQLDatabase."))
- _TYPE = "dict"
- return Database(type)
+ return Database("dict")
else:
return SQLDatabase(SectionDict(_SESSION, "SQL"))