def truncation(): """Return Jython Shell truncation status.""" store = JythonObjectStore.newInstance(getStaticMcv()) value = store.getBoolean(PROP_JYTHON_SHELL_TRUNCATE, True) store = None return value
def enableTruncation(): """Enable Jython Shell truncation.""" store = JythonObjectStore.newInstance(getStaticMcv()) store.putBoolean(PROP_JYTHON_SHELL_TRUNCATE, True) store = None