Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/server.py
diff options
context:
space:
mode:
authorDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 11:35:18 -0400
committerDylan Taylor <dylan@dylanmtaylor.com>2021-05-15 11:35:18 -0400
commitffd5b5f80453a609b76e050d6d4e8309c540c28e (patch)
tree02f73e12ff665939f13a161176fd4a34e61f50d3 /profiles/server.py
parent5254ac62200bb279c855d06bea1006b323bfae87 (diff)
Very selectively fix some PEP 8 issues with profiles
Diffstat (limited to 'profiles/server.py')
-rw-r--r--profiles/server.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/profiles/server.py b/profiles/server.py
index d0346ace..36bfd3ab 100644
--- a/profiles/server.py
+++ b/profiles/server.py
@@ -6,6 +6,7 @@ is_top_level_profile = True
available_servers = ["cockpit", "docker", "httpd", "lighttpd", "mariadb", "nginx", "postgresql", "sshd", "tomcat"]
+
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -13,9 +14,10 @@ def _prep_function(*args, **kwargs):
"""
selected_servers = archinstall.generic_multi_select(available_servers, f"Choose which servers to install and enable (leave blank for a minimal installation): ")
archinstall.storage['_selected_servers'] = selected_servers
-
+
return True
+
if __name__ == 'server':
"""
This "profile" is a meta-profile.