[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen master] tools: print xm deprecation warning to stderr



commit c00a6637315bdd146707dd1f1ad738471bb5caf5
Author:     Ian Campbell <ian.campbell@xxxxxxxxxx>
AuthorDate: Wed Sep 18 21:27:19 2013 +0100
Commit:     Ian Campbell <ian.campbell@xxxxxxxxxx>
CommitDate: Thu Sep 19 16:25:54 2013 +0100

    tools: print xm deprecation warning to stderr
    
    To avoid confusing anything which is parsing the output.
    
    Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
 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 458f219..6a3f545 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.
 
--
generated by git-patchbot for /home/xen/git/xen.git#master

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.