Find the packages on the base path manually using os.listdir, rather
than using a glob for "*/__init__.py". This is a bit more work, but
glob will unfortunately swallow any os errors that occur during the
search. Since these OS errors shouldn't occur in a properly configured
installation this just masks problems, e.g. turning "permission denied"
errors into cryptic import failures.

Signed-off-by: John Admanski <jadmanski@google.com>



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