-#!/usr/bin/python
+#!/usr/bin/env python2
# Copyright (c) 2014, Ralf Jung <post@ralfj.de>
# All rights reserved.
#
if stdout: print stdout
if stderr: print stderr
else:
- print "good",
+ out = "good"
if ip is not None:
- print ip,
+ out += " "+ip
if ipv6 is not None:
- print ipv6,
- print
+ out += " "+ipv6
+ print out