martine/ninja — pull request #184 by evanj (2012-01-04 20:02:11+00:00)
Title: ninja_syntax.py: Fix passing variables to Writer.build()

I dropped my erroneous commit; thanks for pulling the other minor fix. Here is another minor fix, this time for ninja_syntax.py

Without this, I get:

Traceback (most recent call last):
File "./ninja_test.py", line 120, in test_variables
self.n.build('out', 'cc', 'in', variables={'name': 'value'})
File "/Users/ej/ninja/misc/ninja_syntax.py", line 69, in build
for key, val in variables:
ValueError: too many values to unpack