def findObjects(path):
objects = []<EOL>if not os.path.isdir(path):<EOL><INDENT>return []<EOL><DEDENT>contents = os.listdir(path)<EOL>for item in contents:<EOL><INDENT>fullPath = os.path.join(path, item)<EOL>if not os.path.isdir(fullPath):<EOL><INDENT>return [path]<EOL><DEDENT>else:<EOL><INDENT>if isShorty(item):<EOL><INDENT>objects = objects + findObjects(fullPath)<EOL><DEDENT>else:<EOL><INDENT>objects.append(fullPath)<EOL><DEDENT><DEDENT><DEDENT>return objects<EOL>
Finds objects in pairtree.

    Given a path that corresponds to a pairtree, walk it and look for
    non-shorty (it's ya birthday) directories.