[Branch,~linaro-validation/lava-test/trunk] Rev 89: Fix incorrectly named variable

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

Commit Message

Paul Larson Aug. 18, 2011, 8:13 p.m.
------------------------------------------------------------
revno: 89
committer: Paul Larson <paul.larson@linaro.org>
branch nick: lava-test
timestamp: Thu 2011-08-18 21:09:56 +0100
message:
  Fix incorrectly named variable
modified:
  abrek/testdef.py


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

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

Patch

=== modified file 'abrek/testdef.py'
--- abrek/testdef.py	2011-08-17 22:32:50 +0000
+++ abrek/testdef.py	2011-08-18 20:09:56 +0000
@@ -429,7 +429,7 @@ 
                 return provider[test_name]
             except KeyError:
                 pass
-        raise ValueError("No such test %r" % test)
+        raise ValueError("No such test %r" % test_name)
 
 
 testloader = TestLoader().get_test_by_name