Port obmc to python3.5
Change-Id: I1ed6c6bd914635485a697369048a8be9e5919fc6
Signed-off-by: Balaji B Rao <balajibapu@gmail.com>
diff --git a/obmc/sensors.py b/obmc/sensors.py
index fba7a91..3fd76b2 100644
--- a/obmc/sensors.py
+++ b/obmc/sensors.py
@@ -91,7 +91,7 @@
@dbus.service.method(
SensorValue.IFACE_NAME, in_signature='v', out_signature='')
def setValue(self, value):
- print "Setting boot count to " + str(value)
+ print("Setting boot count to " + str(value))
SensorValue.setValue(self, value)
@@ -121,7 +121,7 @@
@dbus.service.method(
SensorValue.IFACE_NAME, in_signature='v', out_signature='')
def setValue(self, value):
- print "Setting Power Supply Derating is not allowed"
+ print("Setting Power Supply Derating is not allowed")
class TurboAllowedSensor(VirtualSensor):