diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2013-09-18 21:27:19 +0100 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-09-19 16:25:54 +0100 |
commit | c00a6637315bdd146707dd1f1ad738471bb5caf5 (patch) | |
tree | 123bb2c43ff72d9cec5cad2fc145ba0f6f7e1146 /tools/python/xen | |
parent | d2fd6f2b01ed0e1dad93ee1970233e7b54507b26 (diff) | |
download | xen-c00a6637315bdd146707dd1f1ad738471bb5caf5.tar.gz xen-c00a6637315bdd146707dd1f1ad738471bb5caf5.tar.bz2 xen-c00a6637315bdd146707dd1f1ad738471bb5caf5.zip |
tools: print xm deprecation warning to stderr
To avoid confusing anything which is parsing the output.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'tools/python/xen')
-rwxr-xr-x | tools/python/xen/xm/xm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/python/xen/xm/xm b/tools/python/xen/xm/xm index 458f219e10..6a3f54555a 100755 --- a/tools/python/xen/xm/xm +++ b/tools/python/xen/xm/xm @@ -4,10 +4,10 @@ import sys, os.path from xen.xm import main -print("WARNING: xend/xm is deprecated.") +print >>sys.stderr, ("WARNING: xend/xm is deprecated.") if not os.path.exists("/tmp/xm-deprecation-long-warning"): - print(""" + print >>sys.stderr, (""" xend is deprecated and scheduled for removal. Please migrate to another toolstack ASAP. |