Commit b0f9ff45 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix regression

Introduced by python3 introduction
parent e04bff9d
......@@ -2727,7 +2727,7 @@ class OG_MainWindow(QtGui.QMainWindow, object):
item_types = self.datadict.topLevelItem(0)
item_types.takeChildren() # remove old children
for name, sort in sorted(ast.dataview.viewitems(),
key=lambda name, sort: name):
key=lambda (name, sort): name):
new_item = QtGui.QTreeWidgetItem(item_types,
[name.replace('-', '_'),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment