diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2013-11-26 14:29:52 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2013-11-26 14:29:52 (GMT) |
commit | 6eba04517eea10b04d035bf4c64a8b5b1e3c62a5 (patch) | |
tree | 8e0f24e1e18a1c4dd4930ffeb6eb8ebd14d0cb2b /playlist.py | |
parent | d75af77f0f2c32cc79049f7980fb85b3167d59e6 (diff) |
Pyflakes fixes
Diffstat (limited to 'playlist.py')
-rw-r--r-- | playlist.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/playlist.py b/playlist.py index 57bd581..bca0fef 100644 --- a/playlist.py +++ b/playlist.py @@ -114,7 +114,6 @@ class PlayList(Gtk.ScrolledWindow): self._current_playing += 1 def __on_cursor_changed(self, treeview): - selection = self.listview.get_selection() sel_model, sel_rows = self.listview.get_selection().get_selected_rows() for row in sel_rows: index = sel_model.get_value(sel_model.get_iter(row), 0) @@ -166,7 +165,6 @@ class PlayList(Gtk.ScrolledWindow): self.listview.set_cursor((index,)) def delete_selected_items(self): - selection = self.listview.get_selection() sel_model, sel_rows = self.listview.get_selection().get_selected_rows() for row in sel_rows: index = sel_model.get_value(sel_model.get_iter(row), 0) |