fixed imports
diff --git a/bin/chassis_control.py b/bin/chassis_control.py
index 22c0314..c319527 100644
--- a/bin/chassis_control.py
+++ b/bin/chassis_control.py
@@ -5,7 +5,6 @@
import dbus
import dbus.service
import dbus.mainloop.glib
-import System
DBUS_NAME = 'org.openbmc.control.Chassis'
OBJ_NAME = '/org/openbmc/control/Chassis/'+sys.argv[1]
@@ -13,10 +12,6 @@
POWER_OFF = 0
POWER_ON = 1
-process_config = System.BarreleyeProcesses()
-
-
-
class ChassisControlObject(dbus.service.Object):
def __init__(self,bus,name):
self.dbus_objects = { }
diff --git a/includes/gpio.c b/includes/gpio.c
index 53f882d..0177c17 100644
--- a/includes/gpio.c
+++ b/includes/gpio.c
@@ -43,7 +43,8 @@
if (read(gpio->fd,&buf,1) != 1)
{
- g_print("read error\n");
+ //g_print("read error\n");
+ //TODO: error handling
}
if (buf[0]=='1') {
return 1;