Simone Tiraboschi has uploaded a new change for review. Change subject: log: preventing boolean values to stop logging ......................................................................
log: preventing boolean values to stop logging If one of the filtered keys assumes a boolean value otopi stop logging filtering everything. Preventing it discarding True and False as filtered tokens. Change-Id: If1709081bd2b4a99379a7ff9e20f4388aa187532 Signed-off-by: Simone Tiraboschi <stira...@redhat.com> --- M src/plugins/otopi/core/log.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/otopi refs/changes/44/42444/1 diff --git a/src/plugins/otopi/core/log.py b/src/plugins/otopi/core/log.py index aa0d289..c951748 100644 --- a/src/plugins/otopi/core/log.py +++ b/src/plugins/otopi/core/log.py @@ -93,7 +93,7 @@ tofilter = [] for token in tokens: - if token not in (None, ''): + if token not in (None, '', False, True): index = -1 while True: index = content.find(token, index+1) -- To view, visit https://gerrit.ovirt.org/42444 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: If1709081bd2b4a99379a7ff9e20f4388aa187532 Gerrit-PatchSet: 1 Gerrit-Project: otopi Gerrit-Branch: master Gerrit-Owner: Simone Tiraboschi <stira...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches