diff options
author | Joar Wandborg <git@wandborg.com> | 2012-07-10 17:53:37 +0200 |
---|---|---|
committer | Joar Wandborg <git@wandborg.com> | 2012-07-10 18:13:02 +0200 |
commit | 51eb0267d901bafcc90879dadbc2b8616ecdc4f5 (patch) | |
tree | 864566efd685a1680a3a1f1445bc9bd158454794 /mediagoblin/db | |
parent | 81d3c4cf1cee923c4b803a96b6f5628e9aa9b78d (diff) | |
download | mediagoblin-51eb0267d901bafcc90879dadbc2b8616ecdc4f5.tar.lz mediagoblin-51eb0267d901bafcc90879dadbc2b8616ecdc4f5.tar.xz mediagoblin-51eb0267d901bafcc90879dadbc2b8616ecdc4f5.zip |
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.
Diffstat (limited to 'mediagoblin/db')
-rw-r--r-- | mediagoblin/db/mixin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/db/mixin.py b/mediagoblin/db/mixin.py index fe6dc796..9f9b8786 100644 --- a/mediagoblin/db/mixin.py +++ b/mediagoblin/db/mixin.py @@ -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""" |