Skip to contentSkip to conversation

conga/luci/site/luci/Extensions cluster_adapte ...

Cluster-devel [email protected] 1 participant 1 message Mar 27, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at 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

luci/site/luci/Extensions/cluster_adapters.py +1 -1
@@ -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)