path: root/module/obmc/wsgi
diff options
authorRatan Gupta <>2019-01-16 13:58:34 +0530
committerRatan Gupta <>2019-01-16 14:02:01 +0530
commit3c6d49a65b1928938b48866cb730d10577b496c4 (patch)
tree346fb164cc34dc71561873166489a6b64105a2b8 /module/obmc/wsgi
parent44573ab21aa463504344d311396e5c365b8ea41a (diff)
Fixes the method signature generation logicHEADmaster
During generation of the method signature, Both Input and Output argument is being used, where only Input argument should have been considered. This method signature is required as we convert the input values into its actual types by introspecting the interface. Fixes openbmc/openbmc#3453 Change-Id: I3eb99736295b76176a9964f7542f326007e1c4a4 Signed-off-by: Ratan Gupta <>
Diffstat (limited to 'module/obmc/wsgi')
1 files changed, 2 insertions, 1 deletions
diff --git a/module/obmc/wsgi/apps/ b/module/obmc/wsgi/apps/
index a26532a..8df9805 100644
--- a/module/obmc/wsgi/apps/
+++ b/module/obmc/wsgi/apps/
@@ -97,7 +97,8 @@ def get_method_signature(bus, service, object_path, interface, method):
for dbus_method in dbus_intf.findall('method'):
if(dbus_method.get('name') == method):
for arg in dbus_method.findall('arg'):
- arglist.append(arg.get('type'))
+ if (arg.get('direction') == 'in'):
+ arglist.append(arg.get('type'))
return arglist
OpenPOWER on IntegriCloud