| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This aims to fix intermittent build failures on some platforms (most
notably Debian Bullseye) which appear to be due to the use of
`os.system` from background threads. The exact nature of the issue
is unclear, however moving to `subprocess.call` appears to fix it.
Fixes https://github.com/unbit/uwsgi/issues/2447.
While there's more that could be done here to modernise these calls,
this aims to be a minimal change which introduces subprocess without
much intrusion.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
In Python, open() opens files in read mode ('r') by default. Specifying
it is unnecessary and simply adds noise. It is Pythonic to instead rely
on this default value.
See https://docs.python.org/3/library/functions.html#open
> mode is an optional string that specifies the mode in which the file
> is opened. It defaults to 'r' which means open for reading in text
> mode.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The motivation is explained in 89b3840ab5fe2560a0801f6318dfdc54696bb1fd.
* Where I was fairly certain what exception is expected I replaced
"except:" with "except SomeConcreteClass:" (or otherwise simplified
the code)
* Where I wasn't sure what exaclty is being expected I just put
"except Exception:" to at least skip the "special" exceptions
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
--HG--
rename : debug.ini => examples/debug.ini
rename : fibers.yml => examples/fibers.yml
rename : heavytest.ini => examples/heavytest.ini
rename : logic.ini => examples/logic.ini
rename : mega.xml => examples/mega.xml
rename : multi.ini => examples/multi.ini
rename : multi.xml => examples/multi.xml
rename : protected.ini => examples/protected.ini
rename : sites.xml => examples/sites.xml
rename : uwsgi.xml => examples/uwsgi.xml
rename : welcome.ini => examples/welcome.ini
rename : werkzeug.yml => examples/werkzeug.yml
rename : werkzeug_strict.yml => examples/werkzeug_strict.yml
rename : zmqgevent.ini => examples/zmqgevent.ini
|