Skip to content
This repository has been archived by the owner on Nov 13, 2023. It is now read-only.

Commit

Permalink
Executor: Invoke function(input, *args, **kwargs)
Browse files Browse the repository at this point in the history
  • Loading branch information
aht committed Jan 12, 2010
1 parent b233078 commit c0c8a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream.py
Expand Up @@ -901,7 +901,7 @@ def process_job_id(input):
input, dupinput = itertools.tee(input)
id = iter(dupinput >> cut[0])
input = iter(input >> cut[1])
output = function(input)
output = function(input, *args, **kwargs)
for item in output:
yield next(id), item
self.pool = poolclass(process_job_id,
Expand Down

0 comments on commit c0c8a57

Please sign in to comment.