index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-03-21 14:56:26 +0100 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-03-21 14:56:26 +0100 |
commit | c99abb1a7b6b0fe75f8bc1b7558e0e13afb283c5 (patch) | |
tree | 9c2aa17d6991cb74fe7fd55e0f70dd0d3a7896f1 /archinstall | |
parent | ec9059c039c3d47dc17e457cdc8a42549de87d5b (diff) |
-rw-r--r-- | archinstall/lib/profiles.py | 3 |
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py index e22a3587..724b92e7 100644 --- a/archinstall/lib/profiles.py +++ b/archinstall/lib/profiles.py @@ -134,6 +134,9 @@ class Script(): sys.modules[namespace] = imported print(f"Imported {self} into sys.modules with namespace {namespace}.") + + if '.py' not in namespace: + raise KeyError("Debugging") return self def execute(self): |