pmbootstrap/pmb/config
Newbyte c6a8a2614d
pmb.config.sudo: Use type union compatible with Python 3.7
The Type | OtherType syntax for writing unions was introduced in Python
3.10. We want to support Python 3.7, so use an Optional type hint
instead which declares the same thing and is supported by 3.7.

Fixes: d31313f7 ("Don't use 'sudo' when running as root")
Reviewed-by: Luca Weiss <luca@z3ntu.xyz>
Link: https://lists.sr.ht/~postmarketos/pmbootstrap-devel/%3C20230605063142.6843-1-newbyte@postmarketos.org%3E
2023-06-05 13:12:52 +02:00
..
__init__.py Don't use 'sudo' when running as root 2023-06-04 11:35:08 +02:00
init.py pmb.config.init: copy pmaports githooks to default git hooks dir 2023-04-15 01:44:36 +02:00
load.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
merge_with_args.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
pmaports.py Move version to pmb.__version__ 2023-04-15 01:44:37 +02:00
save.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00
sudo.py pmb.config.sudo: Use type union compatible with Python 3.7 2023-06-05 13:12:52 +02:00
workdir.py Bump copyright to 2023 2023-01-22 19:18:06 +01:00