Change except to Py3 style 'as'.