From: Leandro Lucarella Date: Mon, 22 Oct 2007 04:07:43 +0000 (-0300) Subject: Bugfix: _persistent_attrs should be a sequence. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/8ef5c142a621796d24b474e39eb0c20989bfdf6f?ds=inline;hp=-c Bugfix: _persistent_attrs should be a sequence. --- 8ef5c142a621796d24b474e39eb0c20989bfdf6f diff --git a/pymin/services/firewall/__init__.py b/pymin/services/firewall/__init__.py index 71a9548..9355e0f 100644 --- a/pymin/services/firewall/__init__.py +++ b/pymin/services/firewall/__init__.py @@ -84,7 +84,7 @@ class FirewallHandler(Restorable, ConfigWriter, ServiceHandler, handler_help = u"Manage firewall service" - _persistent_attrs = 'rules' + _persistent_attrs = ['rules'] _restorable_defaults = dict(rules=list())