Skip to content

Commit

Permalink
fixup! [MIG] rename deprecated modules script
Browse files Browse the repository at this point in the history
  • Loading branch information
robinkeunen committed Mar 8, 2022
1 parent acf1ec1 commit 9796f16
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rename_deprecated_modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,13 @@

_logger = logging.getLogger(__name__)

env = env # noqa F821 undefined name 'env'
# undefined name 'env'
env = env # noqa: F821

renamed_modules = {
"easy_my_coop": "cooperator",
}

logging.info("rename easy_my_coop_x modules to cooperator_x")
_logger.info("rename easy_my_coop_x modules to cooperator_x")
openupgrade.update_module_names(env.cr, renamed_modules.items())
env.cr.commit()

0 comments on commit 9796f16

Please sign in to comment.