Send Linux-ha-cvs mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: tools by zhenh from 
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Mon, 27 Feb 2006 17:43:40 -0700 (MST)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: tools by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : tools

Dir     : linux-ha/tools


Modified Files:
        haresources2cib.py.in 


Log Message:
fix a typo error and the bug with empty line in resource file. thanks Sam Tran 
found them and gave the patch
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/tools/haresources2cib.py.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- haresources2cib.py.in       22 Feb 2006 11:27:00 -0000      1.6
+++ haresources2cib.py.in       28 Feb 2006 00:43:39 -0000      1.7
@@ -77,7 +77,7 @@
        configuration.appendChild(crm_config)
 
        option_set = doc.createElement("cluster_property_set")
-       option_set.setAttribute("id","deafult")
+       option_set.setAttribute("id","default")
        crm_config.appendChild(option_set)
 
        attr_list = doc.createElement("attributes")
@@ -329,7 +329,7 @@
        directive_list = []
        for line in config :
                line = line.lstrip()
-               if line[0] == "#" :
+               if len (line) == 0 or line[0] == "#" :
                        continue
                if string.split(line)[0] == directive :
                        directive_list.append(line)




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 27, Issue 103
*********************************************

Reply via email to