[gnome-music] playlist: remove unused _iter



commit f198d1979d776156c6884b1397469f1c12b90cf6
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date:   Mon Feb 17 12:24:01 2014 +0100

    playlist: remove unused _iter

 gnomemusic/playlists.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/playlists.py b/gnomemusic/playlists.py
index 38e1277..f79fe77 100644
--- a/gnomemusic/playlists.py
+++ b/gnomemusic/playlists.py
@@ -35,7 +35,7 @@ class Playlists(GObject.GObject):
             for _iter in iterlist:
                 pass
         else:
-            _iter = playlist.append()
+            playlist.append()
         parser.save(playlist, pl_file, name, TotemPlParser.ParserType.PLS)
         self.emit('playlist-created', name)
         return False


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]