Cleanup whitespace, remove debug prints

This commit is contained in:
Stevan Pettit 2011-05-31 10:02:44 -04:00
parent 356d566eb2
commit 227cd75b5c
2 changed files with 1 additions and 5 deletions

View File

@ -215,7 +215,6 @@ class SongMediaItem(MediaManagerItem):
Handle the exit from the edit dialog and trigger remote updates Handle the exit from the edit dialog and trigger remote updates
of songs of songs
""" """
print "reload list"
log.debug(u'onSongListLoad - start') log.debug(u'onSongListLoad - start')
# Called to redisplay the song list screen edit from a search # Called to redisplay the song list screen edit from a search
# or from the exit of the Song edit dialog. If remote editing is active # or from the exit of the Song edit dialog. If remote editing is active
@ -250,7 +249,6 @@ class SongMediaItem(MediaManagerItem):
self.listView.addItem(song_name) self.listView.addItem(song_name)
# Auto-select the item if name has been set # Auto-select the item if name has been set
if song.id == self.auto_select_id: if song.id == self.auto_select_id:
print "have match" , song.id
self.listView.setCurrentItem(song_name) self.listView.setCurrentItem(song_name)
self.auto_select_id = -1 self.auto_select_id = -1
@ -300,10 +298,8 @@ class SongMediaItem(MediaManagerItem):
def onNewClick(self): def onNewClick(self):
log.debug(u'onNewClick') log.debug(u'onNewClick')
print "New"
self.edit_song_form.newSong() self.edit_song_form.newSong()
self.edit_song_form.exec_() self.edit_song_form.exec_()
print "back from edit"
self.onSongListLoad() self.onSongListLoad()
self.onSelectionChange() self.onSelectionChange()