Skip to content

Fixing hacky exception handling and bug in import fixer

Douglas requested to merge Camata/erp5:hotfix/import_exception into master

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:

@Tyagov, please review when you can.

Merge request reports