summaryrefslogtreecommitdiff
path: root/scripts/retracediff.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/retracediff.py')
-rwxr-xr-xscripts/retracediff.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/retracediff.py b/scripts/retracediff.py
index bb5aa7f5..55f771e2 100755
--- a/scripts/retracediff.py
+++ b/scripts/retracediff.py
@@ -43,10 +43,7 @@ import jsondiff
# Null file, to use when we're not interested in subprocesses output
-if platform.system() == 'Windows':
- NULL = open('NUL:', 'wb')
-else:
- NULL = open('/dev/null', 'wb')
+NULL = open(os.path.devnull, 'wb')
class RetraceRun: