comparison mercurial/windows.py @ 49800:c43b283a19c3

windows: drop an unused method The only caller was removed in 563eb25e079b.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 13 Dec 2022 16:48:47 -0500
parents 8147abc05794
children 58dff81ffba1
comparison
equal deleted inserted replaced
49799:de284a0b5614 49800:c43b283a19c3
179 ) 179 )
180 180
181 181
182 # may be wrapped by win32mbcs extension 182 # may be wrapped by win32mbcs extension
183 listdir = osutil.listdir 183 listdir = osutil.listdir
184
185
186 # copied from .utils.procutil, remove after Python 2 support was dropped
187 def _isatty(fp):
188 try:
189 return fp.isatty()
190 except AttributeError:
191 return False
192 184
193 185
194 def get_password(): 186 def get_password():
195 """Prompt for password with echo off, using Windows getch(). 187 """Prompt for password with echo off, using Windows getch().
196 188