From mboxrd@z Thu Jan 1 00:00:00 1970 From: jparsons@sourceware.org Date: 28 Jul 2006 18:57:36 -0000 Subject: [Cluster-devel] conga/luci/site/luci/Extensions cluster_adapte ... Message-ID: <20060728185736.5599.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: jparsons at sourceware.org 2006-07-28 18:57:36 Modified files: luci/site/luci/Extensions: cluster_adapters.py Log message: Added description field to busywait map Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.21&r2=1.22 --- conga/luci/site/luci/Extensions/cluster_adapters.py 2006/07/28 18:40:23 1.21 +++ conga/luci/site/luci/Extensions/cluster_adapters.py 2006/07/28 18:57:36 1.22 @@ -1337,13 +1337,14 @@ part2 = req['QUERY_STRING'] dex = part2.find("&busyfirst") if dex != (-1): - tmpstr = part2[:dex] + tmpstr = part2[:dex] #This strips off busyfirst var part2 = tmpstr ###FIXME - The above assumes that the 'busyfirst' query var is at the ###end of the URL... wholeurl = part1 + "?" + part2 #map['url'] = "5, url=" + req['ACTUAL_URL'] + "?" + req['QUERY_STRING'] map['refreshurl'] = "5; url=" + wholeurl + map['desc'] = item[1].getProperty(FLAG_DESC) req['specialpagetype'] = "1" return map return map