def find_subdirectories(package):
try:<EOL><INDENT>subdirectories = os.walk(package_to_path(package)).next()[<NUM_LIT:1>]<EOL><DEDENT>except StopIteration:<EOL><INDENT>subdirectories = []<EOL><DEDENT>return subdirectories<EOL>
Get the subdirectories within a package
This will include resources (non-submodules) and submodules