]> git.llucax.com Git - software/pymin.git/commitdiff
Bugfix: _dict_* should be _cont_* and _persistent_attrs should be a list.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 22 Oct 2007 05:32:42 +0000 (02:32 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 22 Oct 2007 05:32:42 +0000 (02:32 -0300)
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"
 
-    _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"
 
-    _persistent_attrs = ('conns')
+    _persistent_attrs = ['conns']
 
     _restorable_defaults = dict(
         conns  = dict(),