diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 439: fix potential bug from revno 435

Message ID 20121108032212.9165.21707.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Andy Doan Nov. 8, 2012, 3:22 a.m. UTC
------------------------------------------------------------
revno: 439
committer: Andy Doan <andy.doan@linaro.org>
branch nick: lava-dispatcher
timestamp: Thu 2012-11-08 04:20:34 +0100
message:
  fix potential bug from revno 435
  
  This was noticed after the code review. This ensures we don't
  encounter a potential issue where fixupdict has not yet been assigned.
modified:
  lava_dispatcher/lava_test_shell.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/lava_test_shell.py'
--- lava_dispatcher/lava_test_shell.py	2012-11-02 08:33:10 +0000
+++ lava_dispatcher/lava_test_shell.py	2012-11-08 03:20:34 +0000
@@ -120,6 +120,7 @@ 
 
     pattern = re.compile(testdef['parse']['pattern'])
 
+    fixupdict = {}
     if 'fixupdict' in testdef['parse']:
         fixupdict = testdef['parse']['fixupdict']