[libc++][NFC] Resolve Python 2 FIXME
We don't use Python 2 anymore, so let us do the recommended fix instead
of using the workaround made for Python 2.
Differential Revision: https://reviews.llvm.org/D107715
NOKEYCHECK=True
GitOrigin-RevId: f46f93b4786377dd7ee704ef2beedadfe4f05adf
diff --git a/utils/ssh.py b/utils/ssh.py
index d6346fc..6c1d706 100755
--- a/utils/ssh.py
+++ b/utils/ssh.py
@@ -23,11 +23,7 @@
import tarfile
import tempfile
-try:
- from shlex import quote as cmd_quote
-except ImportError:
- # for Python 2 compatibility
- from pipes import quote as cmd_quote
+from shlex import quote as cmd_quote
def ssh(args, command):
cmd = ['ssh', '-oBatchMode=yes']