* morituri/common/task.py:

Log which task we are notifying progress on.
	* morituri/common/program.py:
	  Solve a problem where a release does not have an .id,
	  which means it's only half in musicbrainz (artist
	  and title, but no URL to the disc)
This commit is contained in:
Thomas Vander Stichele
2011-07-09 10:06:56 +00:00
parent 41045e8171
commit 5f8e0a5cc4
3 changed files with 34 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ class Task(object, log.Loggable):
if value - self.progress > self.increment or value >= 1.0 or value == 0.0:
self.progress = value
self._notifyListeners('progressed', value)
self.log('notifying progress: %r', value)
self.log('notifying progress: %r on %r', value, self.description)
def setDescription(self, description):
if description != self.description: