##// END OF EJS Templates
cleanup: remove compatibility code for Python < 2.7.1...
Manuel Jacob -
r45402:5258bffd default
parent child Browse files
Show More
@@ -476,9 +476,6 b' def shellsplit(s):'
476
476
477 def quotecommand(cmd):
477 def quotecommand(cmd):
478 """Build a command string suitable for os.popen* calls."""
478 """Build a command string suitable for os.popen* calls."""
479 if sys.version_info < (2, 7, 1):
480 # Python versions since 2.7.1 do this extra quoting themselves
481 return b'"' + cmd + b'"'
482 return cmd
479 return cmd
483
480
484
481
General Comments 0
You need to be logged in to leave comments. Login now