--- a/controls/LibraryPanel.py Tue Oct 03 16:31:31 2017 +0300
+++ b/controls/LibraryPanel.py Thu Oct 05 16:38:49 2017 +0300
@@ -245,7 +245,7 @@
"type": BLOCK,
"block_type": blocktype["type"],
"inputs": tuple([type
- for name, type, modifier
+ for _name, type, _modifier
in blocktype["inputs"]]),
"extension": (len(blocktype["inputs"])
if blocktype["extensible"] else None),
@@ -390,7 +390,7 @@
# Get current selected item (for next and previous mode)
item = self.Tree.GetSelection()
if not item.IsOk() or mode == "first":
- item, item_cookie = self.Tree.GetFirstChild(root)
+ item, _item_cookie = self.Tree.GetFirstChild(root)
selected = None
else:
selected = item