automated change using python-modernize: use 'as' in except
Merge pull request #732 from ThomasWaldmann/exceptions_as

automated change using python-modernize: use 'as' in except