]> git.llucax.com Git - software/pymin.git/blobdiff - pymin/services/ppp/__init__.py
Bugfix: _dict_* should be _cont_* and _persistent_attrs should be a list.
[software/pymin.git] / pymin / services / ppp / __init__.py
index bd82f1948fed8f783668284ada58eb9e160187ce..c759bc72338321f55c1ea1e7195f1d6b2602419a 100644 (file)
@@ -67,14 +67,14 @@ class ConnectionHandler(DictSubHandler):
 
     handler_help = u"Manages connections for the ppp service"
 
 
     handler_help = u"Manages connections for the ppp service"
 
-    _dict_subhandler_attr = 'conns'
-    _dict_subhandler_class = Connection
+    _cont_subhandler_attr = 'conns'
+    _cont_subhandler_class = Connection
 
 class PppHandler(Restorable, ConfigWriter, TransactionalHandler):
 
     handler_help = u"Manage ppp service"
 
 
 class PppHandler(Restorable, ConfigWriter, TransactionalHandler):
 
     handler_help = u"Manage ppp service"
 
-    _persistent_attrs = ('conns')
+    _persistent_attrs = ['conns']
 
     _restorable_defaults = dict(
         conns  = dict(),
 
     _restorable_defaults = dict(
         conns  = dict(),