Fix bare except statement

Use Exception to catch all exceptions instead of a bare except statement.
This commit is contained in:
micbou 2017-10-23 20:53:14 +02:00
parent 48e3f2c968
commit 84998b5b5f
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05

View File

@ -39,7 +39,7 @@ class ConvertCompletionResponseToVimDatas_test( object ):
try:
eq_( expected_vim_data, vim_data )
except:
except Exception:
print( "Expected:\n'{0}'\nwhen parsing:\n'{1}'\nBut found:\n'{2}'".format(
expected_vim_data,
completion_data,