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:32:36 +0100
committerAnton Hvornum <anton@hvornum.se>2021-03-21 14:32:36 +0100
commite1e1a916fcb8b769f0be4c5fa303a2eb5670c19b (patch)
tree9b39a8d73c007b7941dcd36fa41ef1a7bfc06033
parent1998e0378cbf2348289a56679ddcfbfd58160987 (diff)
Debugging tainted namespace on profile modules.
-rw-r--r--archinstall/lib/profiles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index a8a18f54..bafa76df 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -129,8 +129,8 @@ class Script():
if namespace:
self.namespace = namespace
- #if '.py' in self.namespace:
- # raise KeyError("Debugging")
+ if '.py' in self.namespace:
+ raise KeyError("Debugging")
self.spec = importlib.util.spec_from_file_location(self.namespace, self.path)
imported = importlib.util.module_from_spec(self.spec)