qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 23/33] python/qemu/machine.py: refactor _qemu_args()


From: Max Reitz
Subject: Re: [PATCH v2 23/33] python/qemu/machine.py: refactor _qemu_args()
Date: Tue, 1 Jun 2021 12:05:25 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 20.05.21 16:21, Vladimir Sementsov-Ogievskiy wrote:
  - use shorter construction
  - don't create new dict if not needed
  - drop extra unpacking key-val arguments
  - drop extra default values

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
---
  python/qemu/machine.py | 18 ++++++++----------
  1 file changed, 8 insertions(+), 10 deletions(-)

Reviewed-by: Max Reitz <mreitz@redhat.com>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]