HTTP callback fixes
authorJoar Wandborg <git@wandborg.com>
Mon, 24 Sep 2012 23:06:25 +0000 (01:06 +0200)
committerJoar Wandborg <git@wandborg.com>
Wed, 26 Sep 2012 21:53:51 +0000 (23:53 +0200)
commit939d57a022daa8f1f08dcfd111385225ca6030f6
tree9e2f1c2359431a42e4a445f8ef34a35d0c0c7e63
parent5354f954dc94aafd35bc037faad2412f73320d8c
HTTP callback fixes

- Added HTTPError catching around the callback request, to not mark the
  entry as failed, just log the exception.
- Fixed bug where I forgot to actually fetch the entry before passing it
  to json_processing_callback.
- Changed __main__ migration #6 to create the ProcessingMetaData table
  as it is currently, to prevent possible breakage if a siteadmin
  is lagging behind with his db migrations and more than one migration
  wants to fix stuff with the ProcessingMetaData table.
mediagoblin/db/sql/migrations.py
mediagoblin/processing/task.py
mediagoblin/tools/processing.py