From 75caf1cfade7e6b6e43079c79b771532007d1002 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 7 Sep 2005 17:51:01 +0000 Subject: python: use module gdbm exclusively (dropping anydbm, dbm) git-svn-id: file:///home/lennart/svn/public/avahi/trunk@524 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe --- avahi-utils/avahi/ServiceTypeDatabase.py.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'avahi-utils/avahi') diff --git a/avahi-utils/avahi/ServiceTypeDatabase.py.in b/avahi-utils/avahi/ServiceTypeDatabase.py.in index 863c85d..9caeebd 100644 --- a/avahi-utils/avahi/ServiceTypeDatabase.py.in +++ b/avahi-utils/avahi/ServiceTypeDatabase.py.in @@ -19,7 +19,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 # USA. -import anydbm +import gdbm import locale locale.setlocale(locale.LC_ALL, '') @@ -28,7 +28,7 @@ class ServiceTypeDatabase: def __init__(self, filename = "@pkgdatadir@/service-types.db"): - self.db = anydbm.open(filename, "r") + self.db = gdbm.open(filename, "r") l = locale.getlocale(locale.LC_MESSAGES) -- cgit