aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2020-06-06 11:17:57 +0300
committerEric Blake <eblake@redhat.com>2020-06-09 15:47:09 -0500
commiteeafed5f6e76a98d3b640f003b96b1490d2281b1 (patch)
tree0b7ef687fdd5ef220fb12c766ca3e5796f93328d /tests
parentd5262c712488674fba74a749e81894e098226bfa (diff)
qcow2_format.py: drop new line printing at end of dump()
This will simplify further conversion. To compensate, print this empty line directly in cmd_dump_header(). Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Andrey Shinkevich <andrey.shinkevich@virtuozzo.com> Message-Id: <20200606081806.23897-5-vsementsov@virtuozzo.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/qemu-iotests/qcow2.py1
-rw-r--r--tests/qemu-iotests/qcow2_format.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/tests/qemu-iotests/qcow2.py b/tests/qemu-iotests/qcow2.py
index e968869ea6..8c187e9a72 100755
--- a/tests/qemu-iotests/qcow2.py
+++ b/tests/qemu-iotests/qcow2.py
@@ -27,6 +27,7 @@ from qcow2_format import (
def cmd_dump_header(fd):
h = QcowHeader(fd)
h.dump()
+ print()
h.dump_extensions()
diff --git a/tests/qemu-iotests/qcow2_format.py b/tests/qemu-iotests/qcow2_format.py
index 0e517c1bbc..2b6c9612ae 100644
--- a/tests/qemu-iotests/qcow2_format.py
+++ b/tests/qemu-iotests/qcow2_format.py
@@ -155,7 +155,6 @@ class QcowHeader:
value_str = f[1] % value
print("%-25s" % f[2], value_str)
- print("")
def dump_extensions(self):
for ex in self.extensions: