One more PYTHON_VERSION_TRIPLE conversion

This commit is contained in:
rocky
2021-10-26 06:49:49 -04:00
parent 5390e3b838
commit 000c060093

View File

@@ -298,7 +298,7 @@ def main(
else:
buffering = 0
sys.stdout = os.fdopen(sys.stdout.fileno(), 'w', buffering)
if PYTHON_VERSION > 2.6:
if PYTHON_VERSION_TRIPLE > (2, 6):
tee = subprocess.Popen(["tee", current_outfile],
stdin=subprocess.PIPE)
os.dup2(tee.stdin.fileno(), sys.stdout.fileno())