Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 11:38:23 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-12-06 11:38:23 +0100
commit7f57e670da6f6aaabd17a5274d481e3e271a4735 (patch)
tree23fec99daa7fa775459264b5451a4f91550a2583 /archinstall
parentbef89260041d76d43cda74fc408d583aa900c12d (diff)
Returning Profile() to correctly handle with statement
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/profiles.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index f51db66d..d6f49d1d 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -130,7 +130,7 @@ class Script():
imported = importlib.util.module_from_spec(self.spec)
sys.modules[self.namespace] = imported
- return imported
+ return self
def execute(self):
if not self.namespace in sys.modules or self.spec is None: