X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/1d01e224bcb37d7506679b524f90701254e8b051..fac20bd5c930ab027e9c097f34bf50714f8a53d5:/pymin/services/util.py diff --git a/pymin/services/util.py b/pymin/services/util.py index c3579c7..00f2385 100644 --- a/pymin/services/util.py +++ b/pymin/services/util.py @@ -362,7 +362,7 @@ class Restorable(Persistent): return False class ConfigWriter: - r"""ConfigWriter([initd_name[, initd_dir]]) -> ConfigWriter. + r"""ConfigWriter([files[, cfg_dir[, tpl_dir]]]) -> ConfigWriter. This is a helper class to inherit from to automatically handle configuration generation. Mako template system is used for configuration @@ -918,7 +918,7 @@ class ContainerSubHandler(SubHandler): log.debug(u'ContainerSubHandler.clear()') # FIXME broken really, no _delete attribute is setted :S if isinstance(self._attr(), dict): - self._attr.clear() + self._attr().clear() else: self._attr(list())