incubator-tashi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strou...@apache.org
Subject svn commit: r1182062 - /incubator/tashi/trunk/src/tashi/agents/primitive.py
Date Tue, 11 Oct 2011 20:13:37 GMT
Author: stroucki
Date: Tue Oct 11 20:13:37 2011
New Revision: 1182062

URL: http://svn.apache.org/viewvc?rev=1182062&view=rev
Log:
primitive: fixed bug when supplying targetHost

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=1182062&r1=1182061&r2=1182062&view=diff
==============================================================================
--- incubator/tashi/trunk/src/tashi/agents/primitive.py (original)
+++ incubator/tashi/trunk/src/tashi/agents/primitive.py Tue Oct 11 20:13:37 2011
@@ -119,7 +119,7 @@ class Primitive(object):
 				allowElsewhere = False
 			# has a host preference been expressed?
 			if (targetHost != None):
-				for h in hosts.values():
+				for h in self.hosts.values():
 					# if this is not the host we are looking for, continue
 					if ((str(h.id) != targetHost and h.name != targetHost)):
 						continue



Mime
View raw message