changeset 24316:d61aa383e2e5

crecord: fix underbar style for orig_stdout
author Matt Mackall <mpm@selenic.com>
date Mon, 16 Mar 2015 13:23:42 -0500
parents 7d5f935bd705
children f559cae7892f
files mercurial/crecord.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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