diff options
| author | Vladimir Sementsov-Ogievskiy | 2020-06-06 10:17:59 +0200 |
|---|---|---|
| committer | Eric Blake | 2020-06-09 22:47:09 +0200 |
| commit | 621ca4988a20733eca43148396f910373e02d571 (patch) | |
| tree | 79e159858d4887d2f739aa68484f5830bfc6dfde /include/exec/user | |
| parent | qcow2_format.py: use tuples instead of lists for fields (diff) | |
| download | qemu-621ca4988a20733eca43148396f910373e02d571.tar.gz qemu-621ca4988a20733eca43148396f910373e02d571.tar.xz qemu-621ca4988a20733eca43148396f910373e02d571.zip | |
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 'include/exec/user')
0 files changed, 0 insertions, 0 deletions
