]> git.llucax.com Git - software/pymin.git/blobdiff - services/ip/handler.py
Use logging module to report errors in pymind.
[software/pymin.git] / services / ip / handler.py
index 2bbc288cf665cbef39859b056a2af9c7cbdae9f6..cf2c18bdb60dee8ed1678850a685c861221d1552 100644 (file)
@@ -12,11 +12,7 @@ from pymin.service.util import Restorable, ConfigWriter, InitdHandler, \
                                DictComposedSubHandler, ListSubHandler, \
                                Device, Address, ExecutionError
 
                                DictComposedSubHandler, ListSubHandler, \
                                Device, Address, ExecutionError
 
-__all__ = ('IpHandler', 'get_service')
-
-
-def get_service(config):
-    return IpHandler(config.ip.pickle_dir, config.ip.config_dir)
+__all__ = ('IpHandler')
 
 
 class Hop(Sequence):
 
 
 class Hop(Sequence):