diff --git a/src/morevna.py b/src/morevna.py --- a/src/morevna.py +++ b/src/morevna.py @@ -39,6 +39,7 @@ def push(args): c=Client(args.datafile,args.tree) for h in conf.hosts: host=splitHost(h,conf.port) + stats.reset() try: with ClientConnection(*host) as con: c.setConnection(con) @@ -46,6 +47,7 @@ def push(args): c.sendData(blocksToTransfer) print() print(stats.report()) + print() except FailedConnection: continue def pull(args):