2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

Fix cval assignment exception

For SOL sessions, the queue could be touched without anything in ipmiq.
Have cval be set to something benign in those cases to avoid a trace in
debug.
This commit is contained in:
Jarrod Johnson 2014-02-01 19:43:28 -05:00
parent 9749c173ac
commit 131e64ef0e

View File

@ -56,6 +56,7 @@ def _process_chgs(intline):
global chainpulled
os.read(intline,1) # answer the bell
chainpulled = False
cval = ()
try:
while ipmiq:
cval = ipmiq.popleft()