]> code.ossystems Code Review - openembedded-core.git/commit
wic: get rid of get_timeout getter
authorEd Bartosh <ed.bartosh@linux.intel.com>
Thu, 14 Jan 2016 12:12:56 +0000 (14:12 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 17 Jan 2016 11:32:19 +0000 (11:32 +0000)
commit8088caeff5bf4ee9279b47a69c9f1e5537909601
treed41b94e1982a4a97ffdaab8717c4ee26da3aca5d
parentb46da0731e3f7016d0ab2a67967f07c7e199f219
wic: get rid of get_timeout getter

Used bootloader.timeout instead of kickstart.get_timeout getter.

Accessing attributes instead of getting them with getters is
more pythonic, shorter and readable. It also more consistent as
most of partition and bootloader attributes are used this way.

This change also takes care of appendLine bootloader attribute:
it's renamed to bootloader.append attribute provided by new parser.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/wic/plugins/source/bootimg-efi.py
scripts/lib/wic/plugins/source/bootimg-pcbios.py
scripts/lib/wic/plugins/source/isoimage-isohybrid.py
scripts/lib/wic/plugins/source/rootfs_pcbios_ext.py