Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/profiles.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-17 08:02:46 +0000
committerGitHub <noreply@github.com>2021-04-17 08:02:46 +0000
commit9ed29df8528688132a192959fafc0899fdca6194 (patch)
treeadbc75a03ad664f03f85689d76af7a4c92fe6292 /archinstall/lib/profiles.py
parente5b0468384ba70398b91c5418399b0118ece0bc5 (diff)
parentc63d2140a46ee4001f855a575499cd51b7d0c0ee (diff)
Merge pull request #319 from archlinux/torxed-master-merge
Torxed master merge
Diffstat (limited to 'archinstall/lib/profiles.py')
-rw-r--r--archinstall/lib/profiles.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/archinstall/lib/profiles.py b/archinstall/lib/profiles.py
index 94d9f6ee..c5f63e72 100644
--- a/archinstall/lib/profiles.py
+++ b/archinstall/lib/profiles.py
@@ -177,7 +177,7 @@ class Profile(Script):
if hasattr(imported, '_prep_function'):
return True
return False
- """
+
def has_post_install(self):
with open(self.path, 'r') as source:
source_data = source.read()
@@ -193,7 +193,6 @@ class Profile(Script):
with self.load_instructions(namespace=f"{self.namespace}.py") as imported:
if hasattr(imported, '_post_install'):
return True
- """
def is_top_level_profile(self):
with open(self.path, 'r') as source: