Michael Pasternak has uploaded a new change for review. Change subject: cli: limit history length to 3000 ......................................................................
cli: limit history length to 3000 Change-Id: Iab4633d3ea9640eabf357d19ff93190688ae187f Signed-off-by: Michael pasternak <[email protected]> --- M src/ovirtcli/historymanager.py 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine-cli refs/changes/53/20353/1 diff --git a/src/ovirtcli/historymanager.py b/src/ovirtcli/historymanager.py index 9ab618d..5c49d6e 100644 --- a/src/ovirtcli/historymanager.py +++ b/src/ovirtcli/historymanager.py @@ -34,6 +34,7 @@ temp_histfile=os.path.expanduser(TMP_HISTORY_METAFILE), enabled=False): + readline.set_history_length(3000) self.lock = threading.RLock() self.enabled = enabled self.histfile = histfile -- To view, visit http://gerrit.ovirt.org/20353 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iab4633d3ea9640eabf357d19ff93190688ae187f Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine-cli Gerrit-Branch: master Gerrit-Owner: Michael Pasternak <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
