* morituri/common/common.py:

Strip bitrate tags too for comparison of dicts.
	  Add a way to show us the different keys between dicts.
	* morituri/common/encode.py:
	  Debug different keys.
This commit is contained in:
Thomas Vander Stichele
2012-12-06 17:28:24 +00:00
parent 90bb3a7371
commit 90a8d4992c
3 changed files with 28 additions and 2 deletions

View File

@@ -491,6 +491,9 @@ class SafeRetagTask(ctask.LoggableMultiSeparateTask):
else:
self.debug('failed to update tags, only have %r',
common.tagListToDict(self.tasks[4].taglist))
self.debug('difference: %r',
common.tagListDifference(self.tasks[4].taglist,
self._taglist))
os.unlink(self._tmppath)
e = TypeError("Tags not written")
self.setAndRaiseException(e)