diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-14 15:18:10 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-08-14 15:18:10 +0200 |
commit | d44ce453d88624c8444f0733a56197d5291f52f6 (patch) | |
tree | 45d70288aa55f1866d0112c131ba9f497dd20431 /portato/db/__init__.py | |
parent | 3f70553a078aafbb029782ec092c8d037d9ea45f (diff) | |
download | portato-d44ce453d88624c8444f0733a56197d5291f52f6.tar.gz portato-d44ce453d88624c8444f0733a56197d5291f52f6.tar.bz2 portato-d44ce453d88624c8444f0733a56197d5291f52f6.zip |
Rename DictDatabase to HashDatabase
Diffstat (limited to 'portato/db/__init__.py')
-rw-r--r-- | portato/db/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/portato/db/__init__.py b/portato/db/__init__.py index da8a81e..e6f9759 100644 --- a/portato/db/__init__.py +++ b/portato/db/__init__.py @@ -43,9 +43,9 @@ def Database(type): return SQLDatabase(SectionDict(_SESSION, "SQL")) elif type == "dict": - debug("Using DictDatabase") - from .dict import DictDatabase - return DictDatabase(SectionDict(_SESSION, "dict")) + debug("Using HashDatabase") + from .hash import HashDatabase + return HashDatabase(SectionDict(_SESSION, "dict")) else: error(_("Unknown database type: %s"), type) |