[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	2006-10-02 21:09:28

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

Log message:
	fix typo

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

--- conga/luci/site/luci/Extensions/cluster_adapters.py	2006/10/02 20:53:37	1.77
+++ conga/luci/site/luci/Extensions/cluster_adapters.py	2006/10/02 21:09:27	1.78
@@ -2091,20 +2091,22 @@
 	try:
 		name = request['resourcename']
 	except KeyError, e:
-		name = request.form['resourcename']
-	except:
-		return {}
+		try:
+			name = request.form['resourcename']
+		except:
+			return {}
 
 	try:
 		cluname = request['clustername']
 	except KeyError, e:
-		cluname = request.form['clustername']
-	except:
-		return {}
+		try:
+			cluname = request.form['clustername']
+		except:
+			return {}
 
 	try:
 		baseurl = request['URL']
-	except:
+	except KeyError, e:
 		return {}
 
 	for res in modelb.getResources():


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