Fix a runtime error I saw

llvm-svn: 62448
This commit is contained in:
Anders Carlsson 2009-01-18 02:19:54 +00:00
parent 9cdd877436
commit 178b767b9b
1 changed files with 1 additions and 1 deletions

View File

@ -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):