incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mry...@apache.org
Subject svn commit: r761800 - /incubator/tashi/trunk/src/tashi/agents/primitive.py
Date Fri, 03 Apr 2009 21:16:04 GMT
Author: mryan3
Date: Fri Apr  3 21:16:00 2009
New Revision: 761800

URL: http://svn.apache.org/viewvc?rev=761800&view=rev
Log:
A minor change to the primitive scheduler so that an overriding config file can bypass a hook
set in the defaults file.


Modified:
    incubator/tashi/trunk/src/tashi/agents/primitive.py

Modified: incubator/tashi/trunk/src/tashi/agents/primitive.py
URL: http://svn.apache.org/viewvc/incubator/tashi/trunk/src/tashi/agents/primitive.py?rev=761800&r1=761799&r2=761800&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/agents/primitive.py (original)
+++ incubator/tashi/trunk/src/tashi/agents/primitive.py Fri Apr  3 21:16:00 2009
@@ -42,7 +42,10 @@
 			(name, value) = item
 			name = name.lower()
 			if (name.startswith("hook")):
-				self.hooks.append(instantiateImplementation(value, config, client, transport, False))
+				try:
+					self.hooks.append(instantiateImplementation(value, config, client, transport, False))
+				except:
+					self.log.exception("Failed to load hook %s" % (value))
 	
 	def start(self):
 		oldInstances = {}



Mime
View raw message