def pout(*args, **kwargs):
    """print to stdout, maintaining indent level"""
    if should_msg(kwargs.get("groups", ["normal"])):
        args = indent_text(*args, **kwargs)

        # write to stdout
        sys.stderr.write("".join(args))
        sys.stderr.write("\n")
def pout ( * args , ** kwargs ) : if should_msg ( kwargs . get ( "groups" , [ "normal" ] ) ) : args = indent_text ( * args , ** kwargs ) sys . stderr . write ( "" . join ( args ) ) sys . stderr . write ( "\n" )
print to stdout, maintaining indent level