diff options
Diffstat (limited to 'scripts/retracediff.py')
-rwxr-xr-x | scripts/retracediff.py | 5 |
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: |