Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • erp5 erp5
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 142
    • Merge requests 142
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • erp5erp5
  • Merge requests
  • !152

Fixing hacky exception handling and bug in import fixer

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Douglas requested to merge Camata/erp5:hotfix/import_exception into master Aug 08, 2016
  • Overview 2
  • Commits 4
  • Pipelines 0
  • Changes 3

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:

  • https://nexedi.erp5.net/bug_module/20160708-166C255
  • https://nexedi.erp5.net/bug_module/20160708-1270DEA

@Tyagov, please review when you can.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: hotfix/import_exception
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7