diff light9/ascoltami/playlist.py @ 1866:3c523c71da29

pyflakes cleanups and some refactors Ignore-this: f7372e678699175feb4e628eee3d768c
author Drew Perttula <drewp@bigasterisk.com>
date Sat, 25 May 2019 12:10:51 +0000
parents 7772cc48e016
children e13b62bfdaff
line wrap: on
line diff
--- a/light9/ascoltami/playlist.py	Sat May 25 12:06:01 2019 +0000
+++ b/light9/ascoltami/playlist.py	Sat May 25 12:10:51 2019 +0000
@@ -19,13 +19,13 @@
         try:
             currentIndex = self.songs.index(currentSong)
         except IndexError:
-            raise ValueError("%r is not in the current playlist (%r)." % \
-                (currentSong, self.playlistUri))
+            raise ValueError("%r is not in the current playlist (%r)." %
+                             (currentSong, self.playlistUri))
 
         try:
             nextSong = self.songs[currentIndex + 1]
         except IndexError:
-            raise NoSuchSong("%r is the last item in the playlist." % \
+            raise NoSuchSong("%r is the last item in the playlist." %
                              currentSong)
 
         return nextSong