better PEP-8 compliance
This commit is contained in:
parent
ee26391a11
commit
1eeddf5900
1 changed files with 16 additions and 14 deletions
|
|
@ -598,11 +598,11 @@ class Params(object):
|
|||
"""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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue