Revision 982ed68e

b/lib/client/gnt_node.py
60 60
  ]
61 61

  
62 62

  
63
#: headers (and full field list for L{ListNodes}
63
#: headers (and full field list) for L{ListNodes}
64 64
_LIST_HEADERS = {
65 65
  "name": "Node", "pinst_cnt": "Pinst", "sinst_cnt": "Sinst",
66 66
  "pinst_list": "PriInstances", "sinst_list": "SecInstances",
......
81 81
  }
82 82

  
83 83

  
84
#: headers (and full field list for L{ListStorage}
84
#: headers (and full field list) for L{ListStorage}
85 85
_LIST_STOR_HEADERS = {
86 86
  constants.SF_NODE: "Node",
87 87
  constants.SF_TYPE: "Type",
......
225 225

  
226 226
  @param opts: the command line options selected by the user
227 227
  @type args: list
228
  @param args: should be an empty list
228
  @param args: nodes to list, or empty for all
229 229
  @rtype: int
230 230
  @return: the desired exit code
231 231

  
b/lib/cmdlib.py
214 214
    This method is called before starting to execute the opcode, and it should
215 215
    update all the parameters of the opcode to their canonical form (e.g. a
216 216
    short node name must be fully expanded after this method has successfully
217
    completed). This way locking, hooks, logging, ecc. can work correctly.
217
    completed). This way locking, hooks, logging, etc. can work correctly.
218 218

  
219 219
    LUs which implement this method must also populate the self.needed_locks
220 220
    member, as a dict with lock levels as keys, and a list of needed lock names

Also available in: Unified diff