diff options
author | teor <teor@torproject.org> | 2020-01-14 17:32:11 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2020-01-14 17:41:00 +1000 |
commit | 7e111d0eaa05d5099d101e82afa1709438fe994e (patch) | |
tree | 854587cb2ee2b3e50e15182971d4b1cc4726008c /scripts | |
parent | 6b1592b56439ddbb9e47444f77de2d03429cc0ff (diff) | |
download | tor-7e111d0eaa05d5099d101e82afa1709438fe994e.tar.gz tor-7e111d0eaa05d5099d101e82afa1709438fe994e.zip |
practracker: print a notice to stderr when disabled
When TOR_DISABLE_PRACTRACKER is set, print a message to
stderr when skipping practracker checks.
Part of 32705.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/practracker/practracker.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/maint/practracker/practracker.py b/scripts/maint/practracker/practracker.py index f6aac9d15e..71741265f6 100755 --- a/scripts/maint/practracker/practracker.py +++ b/scripts/maint/practracker/practracker.py @@ -297,5 +297,7 @@ variable. if __name__ == '__main__': if os.environ.get("TOR_DISABLE_PRACTRACKER"): + print("TOR_DISABLE_PRACTRACKER is set, skipping practracker tests.", + file=sys.stderr) sys.exit(0) main(sys.argv) |