From: Leandro Lucarella Date: Mon, 22 Oct 2007 05:32:42 +0000 (-0300) Subject: Bugfix: _dict_* should be _cont_* and _persistent_attrs should be a list. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/f91e6f92c409704e5558009058ab746c2085d51b?ds=sidebyside Bugfix: _dict_* should be _cont_* and _persistent_attrs should be a list. --- 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(),