]> git.meshlink.io Git - catta/blobdiff - avahi-utils/avahi/ServiceTypeDatabase.py.in
* Quick fix to incorrect configure line, from FreeBSD. :)
[catta] / avahi-utils / avahi / ServiceTypeDatabase.py.in
index 863c85d0d6ea4b939941227650e3ecdd74535965..9caeebd91cd74ca9cdd17743a6c306baa862c8a0 100644 (file)
@@ -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)