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>
This commit is contained in:
Ian Campbell committed 2013-09-19 16:25:54 +01:00
1 parent d2fd6f2b01
commit c00a663731
1 file changed
+2 -2
+2 -2
View File
@@ -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.
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.