WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Make sure OptVals.quiet is always present

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Make sure OptVals.quiet is always present (fixes xm shutdown -w).
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 06 Feb 2007 09:50:06 -0800
Delivery-date: Tue, 06 Feb 2007 09:50:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Brendan Cully <brendan@xxxxxxxxx>
# Date 1170270336 28800
# Node ID ffe95edc5266f1b05d34a8f45ec03d3b5302abe1
# Parent  8bc64a3a505413e4d3bd7def06539ef088f2ca0c
Make sure OptVals.quiet is always present (fixes xm shutdown -w).

Signed-off-by: Brendan Cully <brendan@xxxxxxxxx>
---
 tools/python/xen/xm/opts.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 8bc64a3a5054 -r ffe95edc5266 tools/python/xen/xm/opts.py
--- a/tools/python/xen/xm/opts.py       Mon Feb 05 16:40:19 2007 +0000
+++ b/tools/python/xen/xm/opts.py       Wed Jan 31 11:05:36 2007 -0800
@@ -250,7 +250,8 @@ class OptVals:
 class OptVals:
     """Class to hold option values.
     """
-    pass
+    def __init__(self):
+        self.quiet = False
 
 class Opts:
     """Container for options.
@@ -276,7 +277,6 @@ class Opts:
         self.argv = []
         # Option values.
         self.vals = OptVals()
-        self.vals.quiet = 0
         # Variables for default scripts.
         self.vars = {}
         # Option to use for bare words.

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Make sure OptVals.quiet is always present (fixes xm shutdown -w)., Xen patchbot-unstable <=