[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2007-03-27 03:03:57

Modified files:
	luci/site/luci/Extensions: cluster_adapters.py 

Log message:
	Fix a string format bug that could cause an exception to be raised

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.251&r2=1.252

--- conga/luci/site/luci/Extensions/cluster_adapters.py	2007/03/16 03:19:39	1.251
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2007/03/27 02:03:56	1.252
@@ -696,7 +696,7 @@
 
 		if not success:
 			incomplete = True
-			errors.append('An error occurred while attempting to add cluster node \"%s\"')
+			errors.append('An error occurred while attempting to add cluster node \"%s\"' % cur_host)
 
 	if incomplete or len(errors) > 0:
 		request.SESSION.set('add_node', add_cluster)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]