bumblebee-status/doc/MODULE_MIGRATION.md
2020-03-06 14:52:54 +01:00

426 B

Migration of modules

  • bumblebee.util.which has been replaced with shutil.which
  • bumblebee.engine.Module has been replaced with core.module.Module
  • module init has less parameters
  • super() works differently
  • engine.input.register_callback is now core.input.register
  • update() only has a single parameter (self) (no widgets anymore)
  • bumblebee.util.format stuff moved into util.format (byte, aslist, asbool, etc.)