]> git.llucax.com Git - software/pymin.git/blobdiff - services/dns/handler.py
Hack to overcome Python's bug 3136 in logging system (refs #7).
[software/pymin.git] / services / dns / handler.py
index 23046c5645172df432c01975be70a75a59a2065c..fb6692373a4fb05affc1400901cff270d270a072 100644 (file)
@@ -11,11 +11,7 @@ from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                TransactionalHandler, ParametersHandler, \
                                DictComposedSubHandler, DictSubHandler, call
 
-__all__ = ('DnsHandler', 'get_service')
-
-
-def get_service(config):
-    return DnsHandler(config.dns.pickle_dir, config.dns.config_dir)
+__all__ = ('DnsHandler')
 
 
 class Host(Sequence):