summaryrefslogtreecommitdiff
path: root/python_modules
diff options
context:
space:
mode:
authorFrediano Ziglio <fziglio@redhat.com>2019-02-18 15:26:55 +0000
committerFrediano Ziglio <fziglio@redhat.com>2019-02-20 17:42:59 +0000
commit53c0c5a665bb32698de9545cbdf0f496f0cfe06b (patch)
tree63cecea430b9589061b319858348848375d4c849 /python_modules
parent7fa8bda27502d7b810d30de350253eb31c7b5d10 (diff)
codegen: Reduce indentation
Signed-off-by: Frediano Ziglio <fziglio@redhat.com> Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'python_modules')
-rw-r--r--python_modules/ptypes.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py
index 3875970..162c4d7 100644
--- a/python_modules/ptypes.py
+++ b/python_modules/ptypes.py
@@ -920,8 +920,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)