author | Matt Mackall <mpm@selenic.com> |
Mon, 16 Mar 2015 13:23:42 -0500 | |
changeset 24316 | d61aa383e2e5 |
parent 24315 | 7d5f935bd705 |
child 24317 | f559cae7892f |
--- a/mercurial/crecord.py Mon Mar 16 13:22:37 2015 -0500 +++ b/mercurial/crecord.py Mon Mar 16 13:23:42 2015 -0500 @@ -31,7 +31,7 @@ _('the python curses/wcurses module is not available/installed')) -orig_stdout = sys.__stdout__ # used by gethw() +_origstdout = sys.__stdout__ # used by gethw() @@ -467,7 +467,7 @@ """ h, w = struct.unpack( - "hhhh", fcntl.ioctl(orig_stdout, termios.TIOCGWINSZ, "\000"*8))[0:2] + "hhhh", fcntl.ioctl(_origstdout, termios.TIOCGWINSZ, "\000"*8))[0:2] return h, w