Skip to contentSkip to conversation

scripts/qemu.py: fix continuation

PATCH New Alex Bennée 1 participant 1 message Sep 18, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 scripts/qemu.py: fix continuation

Commit dab91d9aa00e41ee680524e4f6e99a1e7fe12eb2 broke the invocation by dropping the surrounding braces. I'm not sure how this could have worked, maybe some pythons are more forgiving?

CC Amador Pahim <[email protected]>
CC Fam Zheng <[email protected]>
CC Eduardo Habkost <[email protected]>
---
 scripts/qemu.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/qemu.py +2 -2
index 774e201e8b..2b5c2accb5 100644
@@ -193,8 +193,8 @@ class QEMUMachine(object):
         qemulog = open(self._qemu_log_path, 'wb')
         try:
             self._pre_launch()
-            self._qemu_full_args = self._wrapper + [self._binary] +
-                                    self._base_args() + self._args
+            self._qemu_full_args = (self._wrapper + [self._binary] +
+                                    self._base_args() + self._args)
             self._popen = subprocess.Popen(self._qemu_full_args,
                                            stdin=devnull,
                                            stdout=qemulog,
Signature · 1 line
2.14.1