Fixes #2140 Syntax error

Syntax error in print statement did not work in Python3.
This commit is contained in:
Cayci Gorlitsky 2014-05-05 16:41:04 -04:00
parent 1c7bbcd6e9
commit ed0d562de4
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ class SelectableGrid(CompoundSelectionBehavior, GridLayout):
on_key_up=self.select_with_key_up)
def print_selection(*l):
print [x.text for x in self.selected_nodes]
print(x.text for x in self.selected_nodes)
self.bind(selected_nodes=print_selection)
def goto_node(self, key, last_node, last_node_idx):