summaryrefslogtreecommitdiff
path: root/portato/db/hash.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-03-05 01:51:35 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-03-05 01:51:35 +0100
commitbb95009b602311c280b4649aa6615099ceca11c0 (patch)
tree593bd7ae35fcae7114346c1dac09a1ac41a51ec0 /portato/db/hash.py
parent49a7533e65d6f6904d76ec417dc1611514d5e57a (diff)
downloadportato-bb95009b602311c280b4649aa6615099ceca11c0.tar.gz
portato-bb95009b602311c280b4649aa6615099ceca11c0.tar.bz2
portato-bb95009b602311c280b4649aa6615099ceca11c0.zip
Add description support to the databases
Diffstat (limited to 'portato/db/hash.py')
-rw-r--r--portato/db/hash.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/portato/db/hash.py b/portato/db/hash.py
index 8cea6f2..aa8c73e 100644
--- a/portato/db/hash.py
+++ b/portato/db/hash.py
@@ -32,6 +32,9 @@ class HashDatabase (Database):
self.__initialize()
self.populate()
+ def search_types(self):
+ return Database.SEARCH_NAME
+
def __initialize (self):
self._db = defaultdict(list)
self.inst_cats = set([self.ALL])