summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/exa-receive.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/exa-receive.py')
-rwxr-xr-xtests/topotests/lib/exa-receive.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/topotests/lib/exa-receive.py b/tests/topotests/lib/exa-receive.py
index 9b27bddeaf..2ea3a75a5f 100755
--- a/tests/topotests/lib/exa-receive.py
+++ b/tests/topotests/lib/exa-receive.py
@@ -10,9 +10,13 @@ from sys import stdin
from datetime import datetime
parser = argparse.ArgumentParser()
-parser.add_argument("--no-timestamp", dest="timestamp", action="store_false", help='Disable timestamps')
-parser.add_argument("--logdir", default="/tmp/gearlogdir", help='The directory to store the peer log in')
-parser.add_argument("peer", type=int, help='The peer number')
+parser.add_argument(
+ "--no-timestamp", dest="timestamp", action="store_false", help="Disable timestamps"
+)
+parser.add_argument(
+ "--logdir", default="/tmp/gearlogdir", help="The directory to store the peer log in"
+)
+parser.add_argument("peer", type=int, help="The peer number")
args = parser.parse_args()
savepath = os.path.join(args.logdir, "peer{}-received.log".format(args.peer))