Skip to content
Snippets Groups Projects
Commit 94d8dba3 authored by Guillaume Valadon's avatar Guillaume Valadon Committed by GitHub
Browse files

Merge pull request #757 from p-l-/fix-send-verbose

srloop(): remove unwanted output when verbose=0
parents 89b266a3 e39629aa
No related branches found
No related tags found
No related merge requests found
......@@ -436,7 +436,8 @@ def __sr_loop(srfunc, pkts, prn=lambda x:x[1].summary(), prnfail=lambda x:x.summ
break
count -= 1
start = time.time()
print("\rsend...\r", end=' ')
if verbose > 1:
print("\rsend...\r", end=' ')
res = srfunc(pkts, timeout=timeout, verbose=0, chainCC=1, *args, **kargs)
n += len(res[0])+len(res[1])
r += len(res[0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment