mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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:
1 parent
d2fd6f2b01
commit
c00a663731
1 file changed
+2
-2
@@ -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.
|
||||
|
||||
|
||||