Minor improvements to the processing panel

- It is now possible to actually see what's processing, due to a bug fix
  where __getitem__ was called on the db model.
- Removed DEPRECATED message from the docstring, it wasn't true.
This commit is contained in:
Joar Wandborg
2012-07-10 17:53:37 +02:00
parent 81d3c4cf1c
commit 51eb0267d9
4 changed files with 33 additions and 8 deletions

View File

@@ -116,8 +116,8 @@ class MediaEntryMixin(object):
"""
Get the exception that's appropriate for this error
"""
if self['fail_error']:
return common.import_component(self['fail_error'])
if self.fail_error:
return common.import_component(self.fail_error)
def get_license_data(self):
"""Return license dict for requested license"""