From cc6000f177869b826dfee3d9b92145879e1aea34 Mon Sep 17 00:00:00 2001 From: Philip Thompson Date: Thu, 16 Oct 2014 14:43:48 -0500 Subject: [PATCH] Revert "Validate populate command more rigorously" This reverts commit a81ebd8bf33a62d70aed06e92b09e724df8df216. --- ccmlib/cmds/cluster_cmds.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ccmlib/cmds/cluster_cmds.py b/ccmlib/cmds/cluster_cmds.py index cd97c1f2..9832758b 100644 --- a/ccmlib/cmds/cluster_cmds.py +++ b/ccmlib/cmds/cluster_cmds.py @@ -239,11 +239,6 @@ def validate(self, parser, options, args): if options.ipprefix and options.ipformat: parser.print_help() parser.error("%s and %s may not be used together" % (parser.get_option('-i'), parser.get_option('-I'))) - exit(1) - if options.nodes is None or not isinstance(options.nodes, int): - parser.print_help() - parser.error("%s is not a valid number of nodes. Did you use -n?" % options.nodes) - exit(1) self.nodes = parse_populate_count(options.nodes) def run(self):