Commits

Olle Lundberg  committed 34de120

more pylint

  • Participants
  • Parent commits a4b1552

Comments (0)

Files changed (1)

File clustercheckpoint.py

 # You should have received a copy of the GNU Lesser General Public
 # License along with this library; if not, write to the Free Software
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA
-
+'''
+This module provides interaces for wortking with clustat.
+'''
 import libxml2
 import sys
 
 class ClustatParser(object):
+    '''
+    A class that makes it easier to work with the output of clustat.
+    '''
 
     def __init__(self, xml, groupnames = None):
         """ A class that makes it easier to work with the output of clustat
             help = "Specify path to executable (defaults to /usr/bin/clustat)",
             default = "/usr/bin/clustat", metavar = "EXECUTABLE")
     parser.add_option("-p", "--parameter", dest = "parameter",
-            help = "What parameters to be passed to executable (defaults to -x)",
+            help = "What parameters to be passed to executable" \
+            "(defaults to -x)",
             action = "append", metavar = "PARAMETER")
     (options, arguments) = parser.parse_args()