From 9bc3de2796beab429cf70aeb8a3a71fa3d7f4423 Mon Sep 17 00:00:00 2001 From: Pavel Odvody Date: Mon, 24 Oct 2016 11:25:47 +0200 Subject: [PATCH] Break long line, bump version --- VERSION | 2 +- docker-network-capture | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/VERSION b/VERSION index 8f0916f..a918a2a 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.5.0 +0.6.0 diff --git a/docker-network-capture b/docker-network-capture index 35543af..3dd37a2 100755 --- a/docker-network-capture +++ b/docker-network-capture @@ -42,9 +42,8 @@ def _main(container, bridge="docker0", capture=CaptureFlags.Egress, docker='', * # print out container bridge, name and ID when we're verbose if verbose: name, cid = cont.get("Name", "/unnamed"), cont.get("Id", "(no-id)") - print('[+] Initializing packet capture on: "{b}" for container: "{c}@{h}"'.format(b=args.bridge, - c=name[1:], h=cid), - file=stderr) + msg = '[+] Initializing packet capture on: "{b}" for container: "{c}@{h}"' + print(msg.format(b=args.bridge, c=name[1:], h=cid), file=stderr) # depending on the output, instantiate a consumer if jsonout: