except named exception handling

This commit is contained in:
NeroBurner 2015-09-17 13:25:08 +02:00 committed by Daniel Martí
parent af38f151a2
commit 5ca182a20d
6 changed files with 10 additions and 10 deletions

View file

@ -800,7 +800,7 @@ def read_metadata(xref=True):
for appid, app in apps.iteritems():
try:
description_html(app.Description, linkres)
except MetaDataException, e:
except MetaDataException as e:
raise MetaDataException("Problem with description of " + appid +
" - " + str(e))