From 7f426866e306d9f506aee344bf8cd8e098375004 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 22 Oct 2007 02:29:48 -0300 Subject: [PATCH] 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. --- pymin/services/util.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- 2.43.0