Commit 7acbcf3c authored by Jelte Jansen's avatar Jelte Jansen
Browse files

cfgmgr: don't stop on None result from recvmsg

git-svn-id: svn:// e5f2f494-b856-4b98-b285-d166d9295462
parent a4befeef
......@@ -382,8 +382,9 @@ class ConfigManager:
self.running = True
while (self.running):
msg, env =
if msg and not 'result' in msg:
# ignore 'None' value (current result of timeout)
# and messages that are answers to questions we did
# not ask
if msg is not None and not 'result' in msg:
answer = self.handle_msg(msg);, answer)
self.running = False
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment