cluster-devel.redhat.com archive mirror
 help / color / mirror / Atom feed
From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci cluster/cluster_svc-macros site/luc ...
Date: 27 Feb 2008 20:09:20 -0000	[thread overview]
Message-ID: <20080227200920.22319.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe at sourceware.org	2008-02-27 20:09:19

Modified files:
	luci/cluster   : cluster_svc-macros 
	luci/site/luci/Extensions: LuciZopeAsync.py 

Log message:
	Fix bz434586

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/cluster/cluster_svc-macros.diff?cvsroot=cluster&r1=1.4&r2=1.5
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/LuciZopeAsync.py.diff?cvsroot=cluster&r1=1.8&r2=1.9

--- conga/luci/cluster/cluster_svc-macros	2008/02/08 21:47:55	1.4
+++ conga/luci/cluster/cluster_svc-macros	2008/02/27 20:09:19	1.5
@@ -756,7 +756,7 @@
 
 		<tal:block
 			tal:condition="python: 'max_depth' in res and res['max_depth'] > 0"
-			tal:replace="structure python: '<div class=nothing>'" />
+			tal:replace="structure python:'<div class=%cnothing%c>' % (chr(0x22), chr(0x22))" />
 
 		<tal:block tal:define="
 			global type python: 'tag_name' in res and res['tag_name'] or '';
@@ -766,7 +766,7 @@
 
 		<tal:block
 			tal:condition="python: 'indent_ctr' in res and 'max_depth' in res"
-			tal:replace="structure python: '</div>' * (res['indent_ctr'] - res['max_depth'])" />
+			tal:replace="structure python: '</div>' * (res['indent_ctr'] - res['max_depth'] - 1)" />
 		</div>
 	</div>
 	<div class="service_comp_list">
--- conga/luci/site/luci/Extensions/LuciZopeAsync.py	2008/02/08 21:47:56	1.8
+++ conga/luci/site/luci/Extensions/LuciZopeAsync.py	2008/02/27 20:09:19	1.9
@@ -11,6 +11,7 @@
 from LuciZope import GetReqVars
 from ricci_communicator import RicciCommunicator
 from conga_constants import LUCI_DEBUG_MODE
+from LuciClusterInfo import LuciExtractCluModel
 
 luci_log = get_logger()
 
@@ -218,6 +219,7 @@
 
 def validate_clusvc_async(self, request):
 	from LuciValidation import validate_clusvc_add
-	ret = validate_clusvc_add(self, request)
+	model = LuciExtractCluModel(self, request)
+	ret = validate_clusvc_add(model, request)
 	xml_obj = result_to_xml(ret)
 	write_xml_resp(request, xml_obj)



                 reply	other threads:[~2008-02-27 20:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080227200920.22319.qmail@sourceware.org \
    --to=rmccabe@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).