editors/ConfTreeNodeEditor.py
changeset 1847 6198190bc121
parent 1846 14b40afccd69
child 1850 614396cbffbf
--- a/editors/ConfTreeNodeEditor.py	Tue Oct 03 16:31:31 2017 +0300
+++ b/editors/ConfTreeNodeEditor.py	Thu Oct 05 16:38:49 2017 +0300
@@ -408,7 +408,7 @@
                         if element_infos["use"] == "optional":
                             combobox.Append("")
                         if len(element_infos["type"]) > 0 and isinstance(element_infos["type"][0], types.TupleType):
-                            for choice, xsdclass in element_infos["type"]:
+                            for choice, _xsdclass in element_infos["type"]:
                                 combobox.Append(choice)
                             name = element_infos["name"]
                             value = element_infos["value"]