From e1e1a916fcb8b769f0be4c5fa303a2eb5670c19b Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 21 Mar 2021 14:32:36 +0100 Subject: Debugging tainted namespace on profile modules. --- archinstall/lib/profiles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archinstall') 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) -- cgit v1.2.3-54-g00ecf