changeset 44866:5258bffdb1d6

cleanup: remove compatibility code for Python < 2.7.1 The minimum supported Python version was recently raised to 2.7.4.
author Manuel Jacob <me@manueljacob.de>
date Fri, 29 May 2020 03:43:08 +0200
parents 233ee525dcef
children 8e8fd938ca07
files mercurial/windows.py
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/windows.py	Mon May 25 17:39:23 2020 -0400
+++ b/mercurial/windows.py	Fri May 29 03:43:08 2020 +0200
@@ -476,9 +476,6 @@
 
 def quotecommand(cmd):
     """Build a command string suitable for os.popen* calls."""
-    if sys.version_info < (2, 7, 1):
-        # Python versions since 2.7.1 do this extra quoting themselves
-        return b'"' + cmd + b'"'
     return cmd