Make smart_get only return valid objects.  This should prevent adding deleted labels to hosts from the CLI, among other things.  Also cleanup a bit of code in ModelWithInvalid.

Signed-off-by: Steve Howard <showard@google.com>



git-svn-id: http://test.kernel.org/svn/autotest/trunk@2782 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed