Only depend on pycompilation.

Wrong use of else in try/except block.