diff options
author | Brett Smith <brettcsmith@brettcsmith.org> | 2012-07-08 10:04:06 -0400 |
---|---|---|
committer | Brett Smith <brettcsmith@brettcsmith.org> | 2012-07-08 10:04:06 -0400 |
commit | 5bd0adebd0bcf35aa6fa5238b857737134adc075 (patch) | |
tree | 94de17c617e4e543b9965821ca1e21ebff1505eb /mediagoblin/processing | |
parent | c7dfd4fba6407d70345c5dc9017e87e472ce6722 (diff) | |
download | mediagoblin-5bd0adebd0bcf35aa6fa5238b857737134adc075.tar.lz mediagoblin-5bd0adebd0bcf35aa6fa5238b857737134adc075.tar.xz mediagoblin-5bd0adebd0bcf35aa6fa5238b857737134adc075.zip |
Prevent non-Unicode SQLAlchemy warnings in most submission tests.
This commit makes test_submission mostly warning-clean.
Diffstat (limited to 'mediagoblin/processing')
-rw-r--r-- | mediagoblin/processing/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/processing/__init__.py b/mediagoblin/processing/__init__.py index 4a827af4..85b61880 100644 --- a/mediagoblin/processing/__init__.py +++ b/mediagoblin/processing/__init__.py @@ -84,7 +84,7 @@ def mark_entry_failed(entry_id, exc): atomic_update(mgg.database.MediaEntry, {'_id': entry_id}, {u'state': u'failed', - u'fail_error': exc.exception_path, + u'fail_error': unicode(exc.exception_path), u'fail_metadata': exc.metadata}) else: _log.warn("No idea what happened here, but it failed: %r", exc) |