[blivet:master 0/5] Miscellaneous patches related to use of Size() (v3)

David Lehman dlehman at redhat.com
Wed Nov 5 16:38:46 UTC 2014


On 11/05/2014 08:07 AM, mulhern wrote:
> Remove _minSize assignment... is new.
>
> Update minSize method headers is changed.
>
> The rest are all the same as previous (except that they don't change lines
> that were removed in a previous patch).
>
> mulhern (5):
>    Make _minInstanceSize, a source of minSize() value, always a Size.
>    Remove _minSize assignment to 0 where it's inherited from superclass.
>    Update minSize method headers.
>    Put size values in Size universe eagerly.
>    Add a method that determines whether a number is an exact power of 2.
>
>   blivet/__init__.py                 |  2 +-
>   blivet/deviceaction.py             |  3 ++-
>   blivet/devicefactory.py            | 12 ++++++------
>   blivet/devicelibs/lvm.py           |  9 ++++-----
>   blivet/devicelibs/mdraid.py        |  3 ++-
>   blivet/devicelibs/raid.py          | 13 +++++++------
>   blivet/devices/btrfs.py            |  6 +++---
>   blivet/devices/disk.py             |  3 ++-
>   blivet/devices/lvm.py              | 14 +++++---------
>   blivet/devices/md.py               |  4 ++--
>   blivet/devices/nodev.py            |  3 ++-
>   blivet/devices/partition.py        | 13 ++++++-------
>   blivet/devices/storage.py          |  4 ++--
>   blivet/formats/__init__.py         |  8 +++++++-
>   blivet/formats/disklabel.py        |  7 +++----
>   blivet/formats/fs.py               | 23 +++++++----------------
>   blivet/partitioning.py             | 13 ++++++-------
>   blivet/util.py                     | 28 ++++++++++++++++++++++++++++
>   tests/devicelibs_test/raid_test.py | 24 ++++++++++++------------
>   tests/partitioning_test.py         |  6 +++---
>   tests/size_test.py                 |  4 ++--
>   tests/util_test.py                 | 22 ++++++++++++++++++++++
>   22 files changed, 134 insertions(+), 90 deletions(-)
>   create mode 100644 tests/util_test.py
>

Looks good to me.



More information about the anaconda-patches mailing list