[blivet:master 0/4] Miscellaneous patches related to use of Size() (v2)
mulhern
amulhern at redhat.com
Tue Nov 4 16:46:09 UTC 2014
The first patch is all new.
The second changes one method docstring.
The third is changed so that a few more things are cast to int
when int is clearly what is expected.
The last is just fixed according to dlehman's comment, so I'm not sending it.
mulhern (4):
Make _minInstanceSize, a source of minSize() value, always a Size.
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 | 9 ++++++++-
blivet/formats/disklabel.py | 7 +++----
blivet/formats/fs.py | 22 ++++++++--------------
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, 136 insertions(+), 88 deletions(-)
create mode 100644 tests/util_test.py
--
1.9.3
More information about the anaconda-patches
mailing list