commit | 96da5c216de00f8685598ac55c27b6e936b66338 | [log] [tgz] |
---|---|---|
author | Norman James <njames@us.ibm.com> | Thu Oct 15 10:17:06 2015 -0500 |
committer | Norman James <njames@us.ibm.com> | Thu Oct 15 10:17:06 2015 -0500 |
tree | 93f8f298b8cb88b3516b53dd4db00dfb87c1b710 | |
parent | 71322333f2f6319a887574d5e47345a9a14b1e47 [diff] [blame] |
add setFault and setPresent methods
diff --git a/bin/ipmi_example.py b/bin/ipmi_example.py index a184dda..bc506fa 100755 --- a/bin/ipmi_example.py +++ b/bin/ipmi_example.py
@@ -65,7 +65,7 @@ bus_name = obj_info[0] if (obj_path != "" and bus_name != ""): obj = bus.get_object(bus_name,obj_path) - intf = dbus.Interface(obj,SENSOR_INTERFACE) + intf = dbus.Interface(obj,) intf.setValue(dbus.Byte(int(data))) elif (cmd == "getsensors"):