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: