Commit 083a91c9 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix a wrong docstring



There's no such thing as OpProgrammerError (I found this as I wrote it
in code in another place, and pylint complained).
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
parent 7b651654
......@@ -428,7 +428,7 @@ def _GetWantedNodes(lu, nodes):
@param nodes: list of node names or None for all nodes
@rtype: list
@return: the list of nodes, sorted
@raise errors.OpProgrammerError: if the nodes parameter is wrong type
@raise errors.ProgrammerError: if the nodes parameter is wrong type
"""
if not isinstance(nodes, list):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment