viff

changeset 1271:1deee6ab6af3

Give keyword argument directly.
author Marcel Keller <mkeller@cs.au.dk>
date Thu, 08 Oct 2009 15:17:10 +0200
parents f626a6dfef43
children 727eab7a4e2a
files viff/runtime.py
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/viff/runtime.py	Thu Oct 08 14:28:12 2009 +0200
     1.2 +++ b/viff/runtime.py	Thu Oct 08 15:17:10 2009 +0200
     1.3 @@ -831,8 +831,7 @@
     1.4              while items < len(program_counters):
     1.5                  self.increment_pc()
     1.6                  self.fork_pc()
     1.7 -                item_count, result = func(*args,
     1.8 -                                          **{"quantity": len(program_counters) - items})
     1.9 +                item_count, result = func(quantity=len(program_counters) - items, *args)
    1.10                  items += item_count
    1.11                  results.append(result)
    1.12                  self.unfork_pc()