index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-03-21 14:19:39 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-03-21 14:19:39 +0100 |
commit | b81d5e054d59df523a30f997e0ae66eb2c7107ff (patch) | |
tree | 06c9c83433097732de7cfc28ecb73f3b6ac5ade2 /archinstall | |
parent | df1ed2034d17ff15bb321ff2c306c9e8aaedeec6 (diff) |
-rw-r--r-- | archinstall/lib/profiles.py | 3 |
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index 92c9a140..bafa76df 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -129,6 +129,9 @@ class Script(): if namespace: self.namespace = namespace + 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) sys.modules[self.namespace] = imported |