On 12/7/20 4:35 PM, Willian Rampazzo wrote:
We could use something more pythonic for this file. Instead of 3
string concatenations, my suggestion is to go with string formatting,
like:
s = "%s, logfile=%s, drain_thread=%s>" % (s, self._logfile, self._drain_thread)
As str is immutable in Python
Em seg, 7 de dez de 2020 19:14, Philippe Mathieu-Daudé
escreveu:
> Hi Willian,
>
> On 12/7/20 10:35 PM, Willian Rampazzo wrote:
> > On Mon, Dec 7, 2020 at 5:10 PM Alex Bennée
> wrote:
> >>
> >> While attempting to debug some console weirdness I thought it would be
> >> worth making it easier to
Hi Willian,
On 12/7/20 10:35 PM, Willian Rampazzo wrote:
> On Mon, Dec 7, 2020 at 5:10 PM Alex Bennée wrote:
>>
>> While attempting to debug some console weirdness I thought it would be
>> worth making it easier to see what it had inside.
>>
>> Signed-off-by: Alex Bennée
>> ---
>> python/qemu/c
On Mon, Dec 7, 2020 at 5:10 PM Alex Bennée wrote:
>
> While attempting to debug some console weirdness I thought it would be
> worth making it easier to see what it had inside.
>
> Signed-off-by: Alex Bennée
> ---
> python/qemu/console_socket.py | 8
> 1 file changed, 8 insertions(+)
>
On 12/7/20 3:07 PM, Alex Bennée wrote:
While attempting to debug some console weirdness I thought it would be
worth making it easier to see what it had inside.
Signed-off-by: Alex Bennée
---
python/qemu/console_socket.py | 8
1 file changed, 8 insertions(+)
diff --git a/python/qemu
While attempting to debug some console weirdness I thought it would be
worth making it easier to see what it had inside.
Signed-off-by: Alex Bennée
---
python/qemu/console_socket.py | 8
1 file changed, 8 insertions(+)
diff --git a/python/qemu/console_socket.py b/python/qemu/console_so