Do not name the exception

pyflakes was complaining about a unused variable
This commit is contained in:
Florent 2014-02-20 16:13:31 +01:00
commit c2466f5018

View file

@ -53,7 +53,7 @@ class BasePasteBackend(ICapPaste):
def image_mime(data_base64, supported_formats=('gif', 'jpeg', 'png')):
try:
beginning = data_base64[:24].decode('base64')
except binascii.Error, e:
except binascii.Error:
return None
if 'gif' in supported_formats and 'GIF8' in beginning: