mirror of
https://github.com/freedomofpress/dangerzone.git
synced 2025-04-28 18:02:38 +02:00
![]() The `exit()` [1] function is not necessarily present in every Python environment, as it's added by the `site` module. Also, this function is "[...] useful for the interactive interpreter shell and should not be used in programs" For this reason, we replace all such occurrences with `sys.exit()` [2], which is the canonical function to exit Python programs. [1]: https://docs.python.org/3/library/constants.html#exit [2]: https://docs.python.org/3/library/sys.html#sys.exit |
||
---|---|---|
.. | ||
gui | ||
isolation_provider | ||
test_docs | ||
test_docs_compressed | ||
test_docs_external | ||
test_docs_large@0068ffcb67 | ||
__init__.py | ||
conftest.py | ||
test_cli.py | ||
test_document.py | ||
test_large_set.py | ||
test_ocr.py | ||
test_settings.py | ||
test_util.py |