From f91e6f92c409704e5558009058ab746c2085d51b Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 22 Oct 2007 02:32:42 -0300 Subject: [PATCH] Bugfix: _dict_* should be _cont_* and _persistent_attrs should be a list. --- pymin/services/ppp/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pymin/services/ppp/__init__.py b/pymin/services/ppp/__init__.py index bd82f19..c759bc7 100644 --- a/pymin/services/ppp/__init__.py +++ b/pymin/services/ppp/__init__.py @@ -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(), -- 2.43.0