diskimage-builder/diskimage_builder/block_device/level0
Ian Wienand 9a8b135267 Don't make image & loopdev functions static
You can't pickle a static method reference which complicates being
able to save the node graph when the "rollback" call-back wants to
hold references to these functions.  The outer module (localoop.py) is
small anyway, so from an organisation point of view the difference is
minimal.  Since these are really only called with parameters from the
containing class, they could be class methods with no parameters, at
the small expense of having to fiddle the mbr test-case a bit.

Change-Id: I6f9592a4295abe1b41294b79828bc2f3c2da01c6
2017-06-08 17:10:10 +10:00
..
__init__.py Create and use plugin/node abstract classes 2017-05-26 11:48:11 +10:00
localloop.py Don't make image & loopdev functions static 2017-06-08 17:10:10 +10:00