From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 27 Feb 2008 20:09:20 -0000 Subject: [Cluster-devel] conga/luci cluster/cluster_svc-macros site/luc ... Message-ID: <20080227200920.22319.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: 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:replace="structure python:'
' % (chr(0x22), chr(0x22))" /> + tal:replace="structure python: '
' * (res['indent_ctr'] - res['max_depth'] - 1)" />
--- 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)