From: Leandro Lucarella Date: Mon, 22 Oct 2007 05:29:48 +0000 (-0300) Subject: Add support "operation tagging" to ParametersHandler. X-Git-Url: https://git.llucax.com/software/pymin.git/commitdiff_plain/7f426866e306d9f506aee344bf8cd8e098375004?ds=inline Add support "operation tagging" to ParametersHandler. Now if a ParametersHandler instance has an attribute _update, it will be changes to True when the set command is called. --- diff --git a/pymin/services/util.py b/pymin/services/util.py index 418616b..f5f6b52 100644 --- a/pymin/services/util.py +++ b/pymin/services/util.py @@ -626,6 +626,8 @@ class ParametersHandler(Handler): if not param in self.params: raise ParameterNotFoundError(param) self.params[param] = value + if hasattr(self, '_update'): + self._update = True @handler(u'Get a service parameter.') def get(self, param):