Fix a refactoro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81192 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar 2009-09-08 05:37:51 +00:00
parent 70a3b77df8
commit 2c0a49c8cb

View File

@ -192,7 +192,7 @@ def executeTclScriptInternal(test, litConfig, tmpBase, commands, cwd):
try:
cmds.append(TclUtil.TclExecCommand(tokens).parse_pipeline())
except:
return (TestStatus.Fail, "Tcl 'exec' parse error on: %r" % ln)
return (Test.FAIL, "Tcl 'exec' parse error on: %r" % ln)
cmd = cmds[0]
for c in cmds[1:]: