wagtail/wagtail
Tim Heap 98f37bb6ff Remove bare except in unnecessary try block
From a comment by @gasman on #1684:

> It appears the try/catch in ImageEmbedHandler was added here: 74b9f43
>
> Since the rest of the commit doesn't deal with images at all, and the
> commit makes it clear that the corresponding change to
> MediaEmbedHandler was intended to preserve the existing 'fail
> silently' behaviour in the light of the new exceptions added for media
> embeds - I think this try/catch is redundant. `Format.image_to_html`
> does its own catching of image IO errors, which seems to be
> sufficiently robust (if it wasn't, we'd be seeing errors on front-end
> page rendering), so I think this try/catch can reasonably be deleted.

https://github.com/torchbox/wagtail/pull/1684#issuecomment-140695060
2015-09-16 20:51:21 +10:00
..
bin Fixed flake8 errors 2015-07-18 11:49:32 +08:00
contrib Pull new translations from Transifex 2015-09-04 13:54:06 +01:00
project_template prepare for 1.1 release 2015-09-15 12:45:54 +01:00
tests Rename is_abstract to is_creatable 2015-09-04 09:59:01 +10:00
utils Show deprecation warnings for next Wagtail version 2015-07-09 16:43:39 +01:00
wagtailadmin Merge pull request #1683 from takeflight/remove-meta-description 2015-09-15 16:34:57 +01:00
wagtailcore Version bump master to 1.2a1 2015-09-09 15:24:47 +01:00
wagtaildocs Pull new translations from Transifex 2015-09-04 13:54:06 +01:00
wagtailembeds Pull new translations from Transifex 2015-09-04 13:54:06 +01:00
wagtailforms Pull new translations from Transifex 2015-09-04 13:54:06 +01:00
wagtailimages Remove bare except in unnecessary try block 2015-09-16 20:51:21 +10:00
wagtailredirects Move assertion in redirects tests 2015-09-16 09:23:35 +01:00
wagtailsearch Pull new translations from Transifex 2015-09-04 13:54:06 +01:00
wagtailsites Pull new translations from Transifex 2015-09-04 13:54:06 +01:00
wagtailsnippets Remove uses of Model._meta.description 2015-09-15 18:36:45 +10:00
wagtailusers fix jscs warning 2015-09-09 15:00:05 +01:00
__init__.py Revert "Versioning changes" 2015-02-18 12:56:29 +00:00