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] Don't ignore exceptions here - the possible RuntimeError

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Don't ignore exceptions here - the possible RuntimeError is handled already.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 27 Jul 2005 14:42:10 -0400
Delivery-date: Wed, 27 Jul 2005 18:42:36 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 cl349@xxxxxxxxxxxxxxxxxxxx
# Node ID 72ec508ccbdcbf065a8dfed4cabd9347d60dff2a
# Parent  f24fcd22c68f5b8a8835abbab4c84ba68fb8159a
Don't ignore exceptions here - the possible RuntimeError is handled already.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxx>

diff -r f24fcd22c68f -r 72ec508ccbdc tools/python/xen/xend/XendDomainInfo.py
--- a/tools/python/xen/xend/XendDomainInfo.py   Wed Jul 27 18:31:18 2005
+++ b/tools/python/xen/xend/XendDomainInfo.py   Wed Jul 27 18:40:32 2005
@@ -989,11 +989,8 @@
             self.store_channel = self.eventChannel("store_channel")
         self.store_mfn = xc.init_store(self.store_channel.port2)
         if self.store_mfn >= 0:
-            try:
-                self.db.introduceDomain(self.id, self.store_mfn,
-                                        self.store_channel)
-            except:
-                pass
+            self.db.introduceDomain(self.id, self.store_mfn,
+                                    self.store_channel)
         self.exportToDB(save=True, sync=True)
 
 def vm_field_ignore(vm, config, val, index):

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Don't ignore exceptions here - the possible RuntimeError is handled already., Xen patchbot -unstable <=