summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNicolai Haehnle <nhaehnle@gmail.com>2007-03-25 21:53:21 +0200
committerNicolai Haehnle <nhaehnle@gmail.com>2007-03-25 21:53:21 +0200
commitecf9baf56694e27dd10af46ec1867c6c327cce40 (patch)
treed81382ada0c2ffaed6a36bc8f3a91b38c05c19ab /framework
parent8309154af46be3d541b36e7461f38eb8bbd8b593 (diff)
Fix: undefined variable in backwards compatibility path
Diffstat (limited to 'framework')
-rw-r--r--framework/core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/core.py b/framework/core.py
index dfd93d06b..ede26d194 100644
--- a/framework/core.py
+++ b/framework/core.py
@@ -330,12 +330,12 @@ def loadTestResults(path):
else:
# BACKWARDS COMPATIBILITY
ns = {
- '__file__': filename,
+ '__file__': path,
'GroupResult': GroupResult,
'TestResult': TestResult,
'TestrunResult': TestrunResult
}
- execfile(filename, ns)
+ execfile(path, ns)
if 'testrun' not in ns:
testrun = TestrunResult()