diskimage-builder/diskimage_builder/block_device
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
..
level0 Don't make image & loopdev functions static 2017-06-08 17:10:10 +10:00
level1 Merge "Trivial fix typos" 2017-06-05 05:54:50 +00:00
level2 Add state object, rename "results", add unit tests 2017-05-30 20:39:00 +10:00
level3 Refactor mount-point sorting 2017-05-31 11:05:50 +10:00
level4 Add state object, rename "results", add unit tests 2017-05-30 20:39:00 +10:00
tests Don't make image & loopdev functions static 2017-06-08 17:10:10 +10:00
__init__.py Clear __init__.py from cmd move 2017-05-11 18:52:14 +10:00
blockdevice.py Pad state dump 2017-06-06 12:34:00 +10:00
cmd.py Refactor: use lazy logging 2017-05-30 14:39:58 +10:00
config.py Add env var to dump config graph 2017-06-08 05:04:58 +00:00
exception.py Move exception to it's own file (again) 2017-05-20 06:44:39 +00:00
plugin.py Merge "Trivial fix typos" 2017-06-05 05:54:50 +00:00
utils.py Refactor mount-point sorting 2017-05-31 11:05:50 +10:00