projects
/
mussorgsky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57ed73c
)
Move iter to next element also in exception
author
Ivan Frade
<ivan.frade@gmail.com>
Wed, 19 Aug 2009 22:13:18 +0000
(
01:13
+0300)
committer
Ivan Frade
<ivan.frade@gmail.com>
Wed, 19 Aug 2009 22:13:18 +0000
(
01:13
+0300)
Download was stuck in one element when an exception happened.
src/download_dialog.py
patch
|
blob
|
history
diff --git
a/src/download_dialog.py
b/src/download_dialog.py
index
e3f87f1
..
16534ec
100644
(file)
--- a/
src/download_dialog.py
+++ b/
src/download_dialog.py
@@
-64,6
+64,8
@@
class MussorgskyAlbumArtDownloadDialog (gtk.Dialog):
print "Error processing %s - %s" % (artist, album)
print str(e)
self.album_art.set_from_stock (gtk.STOCK_CDROM, gtk.ICON_SIZE_DIALOG)
+ current += 1
+ it = artist_albums_model.iter_next (it)
continue
self.status_label.set_text ("Retrieved (%d/%d)" % (current, TOTAL))