Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 09:56:35 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 09:56:35 +0000
commit54e2161e2948b9d30ad216c926f11f96246ed1c4 (patch)
treee91d986b3300651c4d334852606e80ed3a619c69 /profiles
parent63d774b7d7f82cd0a4ab59c44128d271baaa6dd4 (diff)
Tweaked the import logic so that the Imported() class returns the actual module imported when executing the import, rather than returning itself. Also fixed awesome so that it loads and looks for _prep_function() with a safe and correct namespace
Diffstat (limited to 'profiles')
-rw-r--r--profiles/awesome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/awesome.py b/profiles/awesome.py
index a0267156..9b831394 100644
--- a/profiles/awesome.py
+++ b/profiles/awesome.py
@@ -11,7 +11,7 @@ def _prep_function(*args, **kwargs):
"""
profile = archinstall.Profile(None, 'xorg')
- with profile.load_instructions() as imported:
+ with profile.load_instructions(namespace='xorg.py') as imported:
if hasattr(imported, '_prep_function'):
return imported._prep_function()
else: