dangerzone/install
Alex Pyrgiotis e11aaec3ac
Always use sys.exit when exiting the application
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
2024-05-09 15:57:42 +03:00
..
common Allow setting the compression level of the image 2024-03-13 21:03:13 +02:00
linux Use %F field code in .desktop entry 2024-05-08 14:17:35 +03:00
macos Always use sys.exit when exiting the application 2024-05-09 15:57:42 +03:00
pyinstaller Adds file formats: epub svg bmp pnm bpm ppm 2024-01-31 19:58:48 +00:00
windows Replace MIT license with AGPLv3 2024-01-04 09:57:49 +00:00