[Spice-devel] [PATCH spice-common 5/7] codegen: Reduce indentation
Christophe Fergeau
cfergeau at redhat.com
Wed Feb 20 16:48:51 UTC 2019
Acked-by: Christophe Fergeau <cfergeau at redhat.com>
On Mon, Feb 18, 2019 at 04:01:27PM +0000, Frediano Ziglio wrote:
> Signed-off-by: Frediano Ziglio <fziglio at redhat.com>
> ---
> python_modules/ptypes.py | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
> index e5fb1e9..bc8762f 100644
> --- a/python_modules/ptypes.py
> +++ b/python_modules/ptypes.py
> @@ -927,8 +927,7 @@ class MessageType(ContainerType):
> channelname = ""
> if cm.is_server:
> return codegen.prefix_camel("Msg", channelname, cm.name)
> - else:
> - return codegen.prefix_camel("Msgc", channelname, cm.name)
> + return codegen.prefix_camel("Msgc", channelname, cm.name)
> else:
> return codegen.prefix_camel("Msg", self.name)
>
> --
> 2.20.1
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/spice-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20190220/456b2330/attachment-0001.sig>
More information about the Spice-devel
mailing list