diff options
author | Anders Carlsson <andersca@mac.com> | 2009-01-18 02:19:54 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-01-18 02:19:54 +0000 |
commit | 178b767b9be99485df124fe38eb3365dc196a80c (patch) | |
tree | a8503a019abba2454c030e578f5ffd24cf2df8c6 | |
parent | 9cdd877436ddd6cec4f576746271a0b431912def (diff) | |
download | bcm5719-llvm-178b767b9be99485df124fe38eb3365dc196a80c.tar.gz bcm5719-llvm-178b767b9be99485df124fe38eb3365dc196a80c.zip |
Fix a runtime error I saw
llvm-svn: 62448
-rw-r--r-- | clang/tools/ccc/ccclib/Jobs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/ccc/ccclib/Jobs.py b/clang/tools/ccc/ccclib/Jobs.py index 48d97db4a70..0b3c3a3935a 100644 --- a/clang/tools/ccc/ccclib/Jobs.py +++ b/clang/tools/ccc/ccclib/Jobs.py @@ -33,7 +33,7 @@ class PipedJob(Job): """PipedJob - A sequence of piped commands.""" def __init__(self, commands): - assert all_true(args, lambda x: isinstance(x, Arguments.Command)) + assert Util.all_true(commands, lambda x: isinstance(x, Arguments.Command)) self.commands = list(commands) def addJob(self, job): |