From 2fea16ec321622be084cb511b001e57f7c1bf6d3 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Thu, 19 Nov 2015 11:29:45 -0800 Subject: remove os.path.lexists from compat module. 2.7 has it --- src/engine/SCons/compat/__init__.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/engine/SCons/compat/__init__.py b/src/engine/SCons/compat/__init__.py index 1bbc1e7..1ef2b25 100644 --- a/src/engine/SCons/compat/__init__.py +++ b/src/engine/SCons/compat/__init__.py @@ -103,13 +103,6 @@ except ImportError: # can fall back to using timestamp. pass -try: - os.path.lexists -except AttributeError: - # Pre-2.4 Python has no os.path.lexists function - def lexists(path): - return os.path.exists(path) or os.path.islink(path) - os.path.lexists = lexists # When we're using the '-3' option during regression tests, importing -- cgit v0.12