1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/scripts
Jon Dufresne a44d80f88e Adjusted subprocess.run() calls to use arg list, rather than string.
The Python docs recommend passing a sequence to subprocess.run() when
possible. Doing so allows for automatic escaping and quoting of
arguments.

https://docs.python.org/3/library/subprocess.html#frequently-used-arguments

> args is required for all calls and should be a string, or a sequence
> of program arguments. Providing a sequence of arguments is generally
> preferred, as it allows the module to take care of any required
> escaping and quoting of arguments (e.g. to permit spaces in file
> names).

Also removed `shell=True` where unnecessary.
2019-08-28 10:19:30 +02:00
..
manage_translations.py Adjusted subprocess.run() calls to use arg list, rather than string. 2019-08-28 10:19:30 +02:00
rpm-install.sh