Signed-off-by: Frediano Ziglio <fzig...@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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to