From: Jelte Jansen Date: Thu, 2 Feb 2012 14:48:01 +0000 (+0100) Subject: [640] inline comment X-Git-Tag: trac2351_base~261^2~1^2~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=158f5113fe1effcf74cd0e09b5b072508e8462ed;p=thirdparty%2Fkea.git [640] inline comment --- diff --git a/src/bin/cmdctl/cmdctl.py.in b/src/bin/cmdctl/cmdctl.py.in index 0628f1f1fe..5baa143605 100755 --- a/src/bin/cmdctl/cmdctl.py.in +++ b/src/bin/cmdctl/cmdctl.py.in @@ -310,6 +310,10 @@ class CommandControl(): def command_handler(self, command, args): answer = ccsession.create_answer(0) if command == ccsession.COMMAND_MODULE_SPECIFICATION_UPDATE: + # The 'value' of a specification update can be either + # a specification, or None. In the first case, simply + # set it. If it is None, delete the module if it is + # known (and ignore otherwise). with self._lock: if args[1] is None and args[0] in self.modules_spec: del self.modules_spec[args[0]]