Migrate to python3 style for raise and import

See merge request !1362
3 jobs for fix/open-translation
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

failed ERP5.UnitTest-Master

failed ERP5.UnitTest-Master.Medusa