Hervé Beraud ebf8368501 Fix regex to correctly recognize scientific notation with QemuImgInfo
qemu 4.1.0 output shifts to scientific notation at 1000mb, breaking
oslo.utils.

Problem here is that the qemu-img output shifts to scientific notation:

999 => 999 MiB
1000 => 1e+03 MiB

The regex in python-oslo-utils does not cover this.

This issue is likely regexp parsing "disk size: 1e+03 MiB" value.

These changes fix that.

Change-Id: I4c016865890135023ceb497de18d75ccebd5961a
Closes-Bug: 1864529
2020-02-25 11:09:51 +01:00
2019-04-19 19:27:54 +00:00
2018-07-04 08:28:15 +07:00
2015-11-16 23:17:37 +08:00
2019-02-13 14:28:34 +08:00
2020-02-06 17:37:13 +00:00
2020-02-10 18:35:07 +01: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 MiB
Languages
Python 100%