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

[Cluster-devel] conga/luci/site/luci/Extensions LuciZope.py



CVSROOT:	/cvs/cluster
Module name:	conga
Branch: 	RHEL5
Changes by:	rmccabe sourceware org	2007-07-26 05:32:38

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

Log message:
	Fix for 249066

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciZope.py.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.1.4.1&r2=1.1.4.2

--- conga/luci/site/luci/Extensions/LuciZope.py	2007/06/18 18:39:32	1.1.4.1
+++ conga/luci/site/luci/Extensions/LuciZope.py	2007/07/26 05:32:38	1.1.4.2
@@ -128,11 +128,11 @@
 	ret = {}
 	for i in varlist:
 		pval = None
-		if req.has_key(i):
+		if req and req.has_key(i):
 			pval = req[i].strip()
 			if not pval:
 				pval = None
-		if pval is None:
+		if req and pval is None:
 			if req.form and req.form.has_key(i):
 				pval = req.form[i].strip()
 				if not pval:


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