Mercurial > public > mercurial-scm > hg
diff 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 |
line wrap: on
line diff
--- a/mercurial/windows.py Mon Dec 12 14:10:12 2022 -0500 +++ b/mercurial/windows.py Tue Dec 13 16:48:47 2022 -0500 @@ -183,14 +183,6 @@ listdir = osutil.listdir -# copied from .utils.procutil, remove after Python 2 support was dropped -def _isatty(fp): - try: - return fp.isatty() - except AttributeError: - return False - - def get_password(): """Prompt for password with echo off, using Windows getch().