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