diff options
Diffstat (limited to 'module/obmc/wsgi')
-rw-r--r-- | module/obmc/wsgi/apps/rest_dbus.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/module/obmc/wsgi/apps/rest_dbus.py b/module/obmc/wsgi/apps/rest_dbus.py index a26532a..8df9805 100644 --- a/module/obmc/wsgi/apps/rest_dbus.py +++ b/module/obmc/wsgi/apps/rest_dbus.py @@ -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 |