From bb95009b602311c280b4649aa6615099ceca11c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Fri, 5 Mar 2010 01:51:35 +0100 Subject: Add description support to the databases --- portato/db/hash.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'portato/db/hash.py') 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]) -- cgit v1.2.3