CVSROOT: /cvs/cluster
Module name: conga
Changes by: [EMAIL PROTECTED] 2007-12-11 15:54:16
Modified files:
luci/site/luci/Extensions: FenceHandler.py
Log message:
fix 379461
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/FenceHandler.py.diff?cvsroot=cluster&r1=1.27&r2=1.28
--- conga/luci/site/luci/Extensions/FenceHandler.py 2007/10/03 19:40:37
1.27
+++ conga/luci/site/luci/Extensions/FenceHandler.py 2007/12/11 15:54:16
1.28
@@ -643,6 +643,17 @@
if not has_passwd:
errors.append(FD_PROVIDE_PASSWD)
+ try:
+ modulename = form['modulename'].strip()
+ if not modulename:
+ raise Exception, 'blank'
+ fencedev.addAttribute('modulename', modulename)
+ except Exception, e:
+ try:
+ fencedev.removeAttribute('modulename')
+ except:
+ pass
+
return errors
def val_rps10_fd(form, fencedev):