Revision f1bebf4c

b/lib/client/gnt_node.py
138 138
  @param nodes: The nodes to setup
139 139

  
140 140
  """
141

  
142
  assert nodes, "Empty node list"
143

  
141 144
  cmd = [constants.SETUP_SSH]
142 145

  
143 146
  # Pass --debug|--verbose to the external script if set on our invocation
b/tools/setup-ssh
1 1
#!/usr/bin/python
2 2
#
3 3

  
4
# Copyright (C) 2010 Google Inc.
4
# Copyright (C) 2010, 2012 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
253 253

  
254 254
  (options, args) = parser.parse_args()
255 255

  
256
  if not args:
257
    parser.print_help()
258
    sys.exit(constants.EXIT_FAILURE)
259

  
256 260
  return (options, args)
257 261

  
258 262

  

Also available in: Unified diff