From: rmccabe@sourceware.org <rmccabe@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/site/luci/Extensions StorageReport.py
Date: 15 Jun 2007 20:12:23 -0000 [thread overview]
Message-ID: <20070615201223.24526.qmail@sourceware.org> (raw)
CVSROOT: /cvs/cluster
Module name: conga
Branch: EXPERIMENTAL
Changes by: rmccabe at sourceware.org 2007-06-15 20:12:23
Modified files:
luci/site/luci/Extensions: StorageReport.py
Log message:
Fix mismatched parens that caused some storage operations to fail.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/StorageReport.py.diff?cvsroot=cluster&only_with_tag=EXPERIMENTAL&r1=1.23.2.7&r2=1.23.2.8
--- conga/luci/site/luci/Extensions/StorageReport.py 2007/06/14 22:43:24 1.23.2.7
+++ conga/luci/site/luci/Extensions/StorageReport.py 2007/06/15 20:12:23 1.23.2.8
@@ -11,7 +11,16 @@
from Variable import parse_variable, Variable, VariableList
-from ricci_defines import *
+from ricci_defines import BD_TEMPLATE, BD_TYPE, CONTENT_FS_TYPE, \
+ CONTENT_HIDDEN_TYPE, CONTENT_MS_TYPE, CONTENT_NONE_TYPE, \
+ CONTENT_TYPE, FUNC_RESP_TAG, MAPPER_ATARAID_TYPE, MAPPER_CRYPTO_TYPE, \
+ MAPPER_iSCSI_TYPE, MAPPER_MDRAID_TYPE, MAPPER_MULTIPATH_TYPE, \
+ MAPPER_NEW_SOURCES_TAG, MAPPER_NEW_TARGETS_TAG, MAPPER_PT_TYPE, \
+ MAPPER_SOURCES_TAG, MAPPER_SYS_TYPE, MAPPER_TARGETS_TAG, \
+ MAPPER_VG_TYPE, PROPS_TAG, RESPONSE_TAG, VARIABLE_TAG, \
+ VARIABLE_TYPE_BOOL, VARIABLE_TYPE_INT, VARIABLE_TYPE_INT_SEL, \
+ VARIABLE_TYPE_LISTENTRY, VARIABLE_TYPE_LIST_INT, VARIABLE_TYPE_LIST_STR, \
+ VARIABLE_TYPE_LIST_XML, VARIABLE_TYPE_STRING, VARIABLE_TYPE_STRING_SEL
from conga_storage_constants import ADD_SOURCES, get_fs_icon, \
get_mapper_icons, get_pretty_fs_name, get_pretty_mapper_info, \
@@ -829,7 +838,7 @@
f_call = doc.createElement("function_call")
f_call.setAttribute('name', 'remove_bd')
#f_call.appendChild(Variable('bd', bd_xml.cloneNode(True)).export_xml(doc))
- f_call.appendChild(Variable('bd', bd_xml.export_xml(doc)))
+ f_call.appendChild(Variable('bd', bd_xml).export_xml(doc))
req.appendChild(f_call)
module.appendChild(req)
@@ -1231,7 +1240,7 @@
f_call = doc.createElement("function_call")
f_call.setAttribute('name', 'create_mapper')
# f_call.appendChild(Variable('mapper', mapper_xml.cloneNode(True)).export_xml(doc))
- f_call.appendChild(Variable('mapper', mapper_xml.export_xml(doc)))
+ f_call.appendChild(Variable('mapper', mapper_xml).export_xml(doc))
req.appendChild(f_call)
module.appendChild(req)
@@ -2088,6 +2097,3 @@
ret['js'] = high_list_js
return ret
-
-
-
next reply other threads:[~2007-06-15 20:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-15 20:12 rmccabe [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-11-06 19:29 [Cluster-devel] conga/luci/site/luci/Extensions StorageReport.py rmccabe
2007-08-09 2:18 rmccabe
2007-07-26 14:59 rmccabe
2007-06-15 15:33 rmccabe
2007-06-14 22:43 rmccabe
2006-08-02 23:18 kupcevic
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=20070615201223.24526.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).