Mark Mielke 5204dfcd6c Support "qemu-img info" virtual size in QEMU 4.1 and later
QEMU 4.0 and earlier have output like:

    virtual size: 1.5M (1572864 bytes)

QEMU 4.1 and later have output like:

    virtual size: 1.5 MiB (1572864 bytes)

Adjust the regular expression to allow for optional whitespace
between the magnitude and the unit.

Adjust the unit parsing to support the expanded "MiB" form.

Change-Id: I1f316d6982c0def3296af4835484ad2d81a87fd4
Closes-Bug: 1844050
2019-09-20 16:56:47 -04:00
2019-04-19 19:27:54 +00:00
2018-07-04 08:28:15 +07:00
2019-07-05 15:10:54 -04:00
2015-11-16 23:17:37 +08:00
2019-02-13 14:28:34 +08:00
2019-07-05 15:10:54 -04:00
2017-03-03 00:03:24 +00:00
2019-07-05 15:10:54 -04:00

Team and repository tags

image

oslo.utils

Latest Version

Downloads

The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling.

Description
OpenStack library utils
Readme 8.1 MiB
Languages
Python 100%