diff src/memory/params.py @ 1019:6a16ec17a458

better PEP-8 compliance
author souliane <souliane@mailoo.org>
date Wed, 07 May 2014 15:44:31 +0200
parents fee00f2e11c2
children 8bae81e254a2
line wrap: on
line diff
--- a/src/memory/params.py	Thu May 08 19:11:47 2014 +0200
+++ b/src/memory/params.py	Wed May 07 15:44:31 2014 +0200
@@ -598,11 +598,11 @@
         """Return a node from the param_xml
         @param name: name of the node
         @param category: category of the node
-        @type_: keyword for search:
+        @param type_: keyword for search:
                                     @ALL@ search everywhere
                                     @GENERAL@ only search in general type
                                     @INDIVIDUAL@ only search in individual type
-        @return: a tuple with the node type and the the node, or None if not found"""
+        @return: a tuple (node type, node) or None if not found"""
 
         for type_node in self.dom.documentElement.childNodes:
             if (((type_ == "@ALL@" or type_ == "@GENERAL@") and type_node.nodeName == C.GENERAL)