From: Anders Carlsson Date: Sun, 18 Jan 2009 02:19:54 +0000 (+0000) Subject: Fix a runtime error I saw X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c432dc7ce3d9a2ba607477e018e99d2f10a9ff8c;p=clang Fix a runtime error I saw git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62448 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/ccc/ccclib/Jobs.py b/tools/ccc/ccclib/Jobs.py index 48d97db4a7..0b3c3a3935 100644 --- a/tools/ccc/ccclib/Jobs.py +++ b/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):