Commit Graph

9 Commits

Author SHA1 Message Date
Teemu Ikonen 6bd0bb0530 Remove unused imports and pass statements
Fixes flake8 error F401.
Most errors were fixed by running

autoflake -i -r --remove-all-unused-imports .

which also removes unnecessary 'pass' statements, some by hand-editing.
2022-11-14 18:32:09 +02:00
auouymous 41c312dd68 Change deprecated logger.warn() to logger.warning(). 2022-04-29 02:54:32 -06:00
auouymous 85404df532 allow command_on_download in gpo 2020-06-30 17:33:52 -06:00
TZocker 9d7e79c195
Update command_on_download.py 2018-08-04 15:39:25 +02:00
Eric Le Lay a769429039 fix #503 Missing translatable content 2018-08-02 22:42:42 +02:00
Eric Le Lay b307b41a40 apply util.Popen everywhere
It will default to close_fds=True.
On Windows, it will log an explanation message on incompatible use of close_fds+redirection.
2018-05-28 21:14:08 +02:00
Vhati 7698b0dc41 Fixed file descriptor leaks into child processes 2018-04-29 17:12:47 -04:00
Eric Le Lay 41f893806a documentation link for Command on Download extension
fixes #317
2018-03-17 16:44:40 +01:00
Eric Le Lay 570c9ae90f Extension to run a command on download
closes #317
2018-02-11 22:27:44 +01:00