From: Ian Campbell Subject: Re: [xen-unstable test] 19710: regressions - FAIL Date: Thu, 19 Sep 2013 16:26:13 +0100 Message-ID: <1379604373.11304.323.camel@hastur.hellion.org.uk> References: <1379536134.11304.307.camel@hastur.hellion.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1379536134.11304.307.camel@hastur.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "xen.org" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, 2013-09-18 at 21:28 +0100, Ian Campbell wrote: > 8<--------------------------------- > > From 6ca0706d4871724a2758098c08ee5c05679d85b5 Mon Sep 17 00:00:00 2001 > From: Ian Campbell > Date: Wed, 18 Sep 2013 21:27:19 +0100 > Subject: [PATCH] tools: print xm deprecation warning to stderr > > To avoid confusing anything which is parsing the output. > > Signed-off-by: Ian Campbell Given the lack of objections and since this has broken the push gate I went ahead and pushed this one. > --- > tools/python/xen/xm/xm | 4 ++-- > 1 file 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. >