Fix for IO redirection with the print_frame_order_2nd_degree() function.
This now no longer prints to the start up sys.stdout file handle, but to current value at execution.
Authored by: bugman 2012-04-02
Parent: [r15649]
Child: [r15651]