PySystemState.add_package(result[i].trim());
}
}
InteractiveConsole interp = new InteractiveConsole();
//ReadlineConsole interp = new ReadlineConsole();
interp.exec("import sys");
interp.exec("def exit(): sys.exit()");
interp.set("bContext", context);
interp.set("ciContext", ciContext);
try {
String version = headers.get("Bundle-Version").toString();
interp.interact("CIShell Console v" + version + "\n");
} catch (PyException e) {}
ref = context.getServiceReference(LogReaderService.class.getName());
reader = (LogReaderService) context.getService(ref);
if (reader != null) {