grep: now prints the number of entries grepped

This commit is contained in:
Celine Mercier
2020-07-13 17:08:13 +02:00
parent 9672f01c6a
commit 8dd403a118

View File

@ -359,6 +359,8 @@ def run(config):
except Exception, e:
raise RollbackException("obi grep error, rollbacking view: "+str(e), o_view)
logger("info", "Grepped %d entries" % len(o_view))
# Save command config in View and DMS comments
command_line = " ".join(sys.argv[1:])
input_dms_name=[input[0].name]