Skip to content

Fixing hacky exception handling and bug in import fixer

Douglas requested to merge Camata/erp5:import_exception_fix into master

Duplicate of !152 (closed) because of merge issues.

Hacky exception handling by investigating the exception's class it not necessary anymore.

A bug in the ImportFixer reported by Kasra that happens with aliased imports (import something as something_else, for example) was fixed too and a test added to cover this case.

This MR fixes bugs:

Merge request reports