commit | 85f050bdcca48b56762f4624e36275674dedd4ed | [log] [tgz] |
---|---|---|
author | Norman James <njames@us.ibm.com> | Fri Dec 18 14:58:20 2015 -0600 |
committer | Norman James <njames@us.ibm.com> | Fri Dec 18 14:58:20 2015 -0600 |
tree | 02c9e01d91cc14833d2c198d0a7ea30684c4a704 | |
parent | 3bb97d9fd0bc930b743519f0657a003970ad13a2 [diff] [blame] |
add introspect=False to get_object calls for performance
diff --git a/bin/fan_control.py b/bin/fan_control.py index 1a528fd..bb070e5 100755 --- a/bin/fan_control.py +++ b/bin/fan_control.py
@@ -34,7 +34,7 @@ ## create interface proxies to all fans for fan in FAN_OBJS: print "Initializing fan: "+fan - obj = bus.get_object(FAN_BUS,fan) + obj = bus.get_object(FAN_BUS,fan,introspect=False) self.fan_intf.append(dbus.Interface(obj,FAN_IFACE)) self.InterfacesAdded(name,self.properties)