Index: client/dom/scripts/idlrenderer.py |
diff --git a/client/dom/scripts/idlrenderer.py b/client/dom/scripts/idlrenderer.py |
index a1aa38bbdd5b1133f1ec13c2265568bac3097a59..40e899e25a3f22f75466f7ad7ea6ab43d5f424e8 100755 |
--- a/client/dom/scripts/idlrenderer.py |
+++ b/client/dom/scripts/idlrenderer.py |
@@ -139,7 +139,11 @@ def render(idl_node, indent_str=' '): |
w(node.id) |
w('(') |
w(node.arguments, ', ') |
- wln(');') |
+ w(')') |
+ if node.raises: |
+ w(' raises (%s)' % node.raises.id) |
+ wln(';') |
+ |
elif isinstance(node, IDLArgument): |
w(node.ext_attrs) |
w('in ') |