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

Re: [Xen-devel] [xen-unstable test] 19710: regressions - FAIL



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 <ian.campbell@xxxxxxxxxx>
> 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 <ian.campbell@xxxxxxxxxx>

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.
>  



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

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