changeset 49895: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 de284a0b5614
children 9cd327509cd4
files mercurial/windows.py
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
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().