Author: justi9
Date: 2008-09-30 10:52:48 -0400 (Tue, 30 Sep 2008)
New Revision: 2552
Modified:
mgmt/trunk/mint/python/mint/__init__.py
Log:
Move spec load inside the try block so we don't lose errors
Modified: mgmt/trunk/mint/python/mint/__init__.py
===================================================================
--- mgmt/trunk/mint/python/mint/__init__.py 2008-09-30 04:12:35 UTC (rev 2551)
+++ mgmt/trunk/mint/python/mint/__init__.py 2008-09-30 14:52:48 UTC (rev 2552)
@@ -210,9 +210,8 @@
self.state = "opening"
- spec = qpid.spec.load(self.model.specPath)
-
try:
+ spec = qpid.spec.load(self.model.specPath)
sock = connect(self.host, self.port)
except Exception, e:
self.exception = e
Show replies by date