mirror of
https://gitlab.postmarketos.org/postmarketOS/pmbootstrap.git
synced 2025-07-13 03:19:47 +03:00
pmb.helpers.other.cache: simplify (MR 2252)
The init_cache() function just assigned some default constants, simplify this by just declaring it that way to begin with, as well as adding type hints. Signed-off-by: Caleb Connolly <caleb@postmarketos.org>
This commit is contained in:
parent
3bfc6474bb
commit
7ed08e74d3
4 changed files with 20 additions and 30 deletions
|
@ -113,7 +113,6 @@ def init(args: PmbArgs):
|
|||
fix_mirrors_postmarketos(args)
|
||||
pmb.config.merge_with_args(args)
|
||||
replace_placeholders(args)
|
||||
pmb.helpers.other.init_cache()
|
||||
|
||||
# Initialize logs (we could raise errors below)
|
||||
pmb.helpers.logging.init(args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue