# HG changeset patch # User Matt Mackall # Date 1426530222 18000 # Node ID d61aa383e2e54ec7130995030d9944c918492026 # Parent 7d5f935bd705978e45783a51092e64da2fa34646 crecord: fix underbar style for orig_stdout diff -r 7d5f935bd705 -r d61aa383e2e5 mercurial/crecord.py --- 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