Re: [Qemu-devel] [PATCH 11/11] qtest.py: Avoid using mutable list as default argument

2017-07-21 Thread Lukáš Doktor
Dne 20.7.2017 v 20:44 Eduardo Habkost napsal(a): > On Thu, Jul 20, 2017 at 06:28:15PM +0200, Lukáš Doktor wrote: >> The list is a mutable object and is dangerous to use it. Recently the >> QEMUMachine was adjusted to allow None as default, let's use it here as >> well. >> >> Signed-off-by: Lukáš Do

Re: [Qemu-devel] [PATCH 11/11] qtest.py: Avoid using mutable list as default argument

2017-07-20 Thread Eduardo Habkost
On Thu, Jul 20, 2017 at 06:28:15PM +0200, Lukáš Doktor wrote: > The list is a mutable object and is dangerous to use it. Recently the > QEMUMachine was adjusted to allow None as default, let's use it here as > well. > > Signed-off-by: Lukáš Doktor This patch requires patch 02/11 and both are pre

[Qemu-devel] [PATCH 11/11] qtest.py: Avoid using mutable list as default argument

2017-07-20 Thread Lukáš Doktor
The list is a mutable object and is dangerous to use it. Recently the QEMUMachine was adjusted to allow None as default, let's use it here as well. Signed-off-by: Lukáš Doktor --- scripts/qtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/qtest.py b/scripts/qtes