From 93207e99f4cf83dee359b22ab7d7cabaeb253034 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Fri, 4 Oct 2019 14:22:23 -0700 Subject: [PATCH] chore: preparing for new naming convention --- library/relative.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/relative.py b/library/relative.py index de07b161ca..c4f8b4b615 100644 --- a/library/relative.py +++ b/library/relative.py @@ -11,7 +11,4 @@ for x in sys.stdin: x = re.sub(r"^(\w):", lambda m: "/" + m[1].lower(), x).replace('\\', '/').strip() curr = os.path.realpath(os.curdir) curr = os.path.normpath(curr) - if sys.platform == "darwin": - # HACK: macos paths are case insensitive, but Python's normalization does not convert characters to lowercase - curr = curr.lower() print(os.path.relpath(x, curr))