]> git.llucax.com Git - software/pymin.git/commitdiff
Bugfix: _persistent_attrs should be a sequence.
authorLeandro Lucarella <llucax@gmail.com>
Mon, 22 Oct 2007 04:07:43 +0000 (01:07 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Mon, 22 Oct 2007 04:07:43 +0000 (01:07 -0300)
pymin/services/firewall/__init__.py

index 71a95481380b943e4957ed4d12e049067f0645f0..9355e0f3bfce0773b2eecd255b178d32b0e005b4 100644 (file)
@@ -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())