So, you just make the class do nothing.. I'd prefer something like this: @contextmanager def NoTimeout: yield if qemu_gdb: Timeout = NoTimeout
I am not sure I understand what you want to do here.I have a basic understanding of @contextmanager, but can you explain more what you want to do?
Alternatively, I send the patch as-is, and then you can send this change. Thank you, Emanuele
anyway: Reviewed-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>