diff options
author | Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> | 2020-06-06 11:17:59 +0300 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2020-06-09 15:47:09 -0500 |
commit | 621ca4988a20733eca43148396f910373e02d571 (patch) | |
tree | 79e159858d4887d2f739aa68484f5830bfc6dfde /memory_mapping.c | |
parent | b2f1415444af944a087a72ed0e55f971a78a2371 (diff) | |
download | qemu-621ca4988a20733eca43148396f910373e02d571.zip qemu-621ca4988a20733eca43148396f910373e02d571.tar.gz qemu-621ca4988a20733eca43148396f910373e02d571.tar.bz2 |
qcow2_format.py: use modern string formatting
Use .format and f-strings instead of old %style. Also, the file uses
both '' and "" quotes, for consistency let's use '', except for cases
when we need '' inside the string (use "" to avoid extra escaping).
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com>
Message-Id: <20200606081806.23897-7-vsementsov@virtuozzo.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'memory_mapping.c')
0 files changed, 0 insertions, 0 deletions