cea-hpc/clustershell — Issue #53: NodeSet constructor do not raise an exception
Author: thiell
Created: 2012-03-03 16:45:57+00:00
State: closed
Labels: Lib/NodeSet

When a NodeSet is created, it does not raise an Exception if the provided pattern is not used.

{{{
NodeSet("foo(1-4]") -> OK
NodeSet(NodeSet()) -> OK

NodeSet(something_else) -> Simply ignored
}}}

Moreover, the provided item is iterable, is could be nice to simply behave like {{{NodeSet.fromlist()}}}