projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d2fd6f2
)
tools: print xm deprecation warning to stderr
author
Ian Campbell
<ian.campbell@citrix.com>
Wed, 18 Sep 2013 20:27:19 +0000
(21:27 +0100)
committer
Ian Campbell
<ian.campbell@citrix.com>
Thu, 19 Sep 2013 15:25:54 +0000
(16:25 +0100)
To avoid confusing anything which is parsing the output.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
tools/python/xen/xm/xm
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/xm
b/tools/python/xen/xm/xm
index 458f219e10aa9fecf31bd8585365250393c3afdc..6a3f54555aacc9baaf03e96cd91459321ab77fc6 100755
(executable)
--- 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.