def print_info(self, obj=None, buf=sys.stdout):
if not obj:<EOL><INDENT>self._print_info(buf)<EOL>return True<EOL><DEDENT>b = False<EOL>for fn in (self._print_tool_info,<EOL>self._print_package_info,<EOL>self._print_suite_info,<EOL>self._print_context_info):<EOL><INDENT>b_ = fn(obj, buf, b)<EOL>b |= b_<EOL>if b_:<EOL><INDENT>print >> buf, '<STR_LIT>'<EOL><DEDENT><DEDENT>if not b:<EOL><INDENT>print >> buf, "<STR_LIT>" % obj<EOL><DEDENT>return b<EOL>
Print a status message about the given object.

        If an object is not provided, status info is shown about the current
        environment - what the active context is if any, and what suites are
        visible.

        Args:
            obj (str): String which may be one of the following:
                - A tool name;
                - A package name, possibly versioned;
                - A context filepath;
                - A suite filepath;
                - The name of a context in a visible suite.