summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xwebkit/build/rule_binding.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/webkit/build/rule_binding.py b/webkit/build/rule_binding.py
index 9555d4d..7c84155 100755
--- a/webkit/build/rule_binding.py
+++ b/webkit/build/rule_binding.py
@@ -51,15 +51,13 @@ def SplitArgsIntoSections(args):
def main(args):
sections = SplitArgsIntoSections(args[1:])
- assert len(sections) == 3
+ assert len(sections) == 3, sections
(base, inputs, options) = sections
- assert len(base) == 3
- input = base[0]
- cppdir = base[1]
- hdir = base[2]
+ assert len(base) == 3, base
+ (input, cppdir, hdir) = base
- assert len(inputs) > 1
+ assert len(inputs) > 1, inputs
generate_bindings = inputs[0]
perl_modules = inputs[1:]