# HG changeset patch # User Manuel Jacob # Date 1590716588 -7200 # Node ID 5258bffdb1d65b8d382e73be6aa293af575b9f1e # Parent 233ee525dcefc56fd452cc86bd63218b3d4cba5b cleanup: remove compatibility code for Python < 2.7.1 The minimum supported Python version was recently raised to 2.7.4. diff -r 233ee525dcef -r 5258bffdb1d6 mercurial/windows.py --- 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