mirror of https://github.com/xemu-project/xemu.git
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>
This commit is contained in:
parent
d5262c7124
commit
eeafed5f6e
|
@ -27,6 +27,7 @@ from qcow2_format import (
|
|||
def cmd_dump_header(fd):
|
||||
h = QcowHeader(fd)
|
||||
h.dump()
|
||||
print()
|
||||
h.dump_extensions()
|
||||
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue