Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-03-21 14:21:28 +0100
committerAnton Hvornum <anton@hvornum.se>2021-03-21 14:21:28 +0100
commit1fdda954dcdc69982de94e3c2000666379eb9b67 (patch)
tree9b39a8d73c007b7941dcd36fa41ef1a7bfc06033
parentb81d5e054d59df523a30f997e0ae66eb2c7107ff (diff)
Debugging tainted namespace on profile modules.
-rw-r--r--examples/guided.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index b6aa5810..f4fc533b 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -169,6 +169,7 @@ def ask_user_questions():
# Check the potentially selected profiles preperations to get early checks if some additional questions are needed.
if archinstall.arguments['profile'] and archinstall.arguments['profile'].has_prep_function():
+ print(f"{archinstall.arguments['profile']} has prep-function, loading with namespace {archinstall.arguments['profile'].namespace}.py")
with archinstall.arguments['profile'].load_instructions(namespace=f"{archinstall.arguments['profile'].namespace}.py") as imported:
if not imported._prep_function():
archinstall.log(