summaryrefslogtreecommitdiff
path: root/xml/generate-introspection.py
diff options
context:
space:
mode:
Diffstat (limited to 'xml/generate-introspection.py')
-rw-r--r--xml/generate-introspection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xml/generate-introspection.py b/xml/generate-introspection.py
index 7c9389bf..3ba0b300 100644
--- a/xml/generate-introspection.py
+++ b/xml/generate-introspection.py
@@ -71,7 +71,7 @@ def generate_introspection (input_filename, c_output_filename, h_output_filename
ccontents = ""
hcontents = ""
- for itf in root.findall ("node/interface"):
+ for itf in root.findall ("interface"):
#Get and convert the name of the interface.
name = convert_name (itf.attrib["name"])