qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v3 3/3] qapi: Suppress unwanted space between ty


From: Paolo Bonzini
Subject: Re: [Qemu-devel] [PATCH v3 3/3] qapi: Suppress unwanted space between type and identifier
Date: Mon, 28 Apr 2014 17:46:41 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0

Il 28/04/2014 09:02, Amos Kong ha scritto:
 def mcgen(code, **kwds):
-    return cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
+    raw = cgen('\n'.join(code.split('\n')[1:-1]), **kwds)
+    return re.sub(re.escape(eatspace) + ' +', '', raw)

I'd feel a little more confident with ' *' instead of one-or-more. Otherwise

Reviewed-by: Paolo Bonzini <address@hidden>

Who's going to handle this series?  Luiz?

Paolo



reply via email to

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