Prevent removal of last node group
authorStephen Shirley <diamond@google.com>
Fri, 28 Jan 2011 12:24:30 +0000 (13:24 +0100)
committerIustin Pop <iustin@google.com>
Fri, 28 Jan 2011 12:43:56 +0000 (13:43 +0100)
commit0389c42aadc7b929a1f984626a82f39c8481ed6d
tree3b22dc850258c603bdf86e3c945bab136bbbff36
parente431074f091f671f2c516482fa72bfc277736195
Prevent removal of last node group

- Add check in ConfigWriter to prevent last node group from being
  removed
- Tidy up error message a bit

Signed-off-by: Stephen Shirley <diamond@google.com>
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
lib/cmdlib.py
lib/config.py