Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/gnome.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/gnome.py
parent5254ac62200bb279c855d06bea1006b323bfae87 (diff)
Very selectively fix some PEP 8 issues with profiles
Diffstat (limited to 'profiles/gnome.py')
-rw-r--r--profiles/gnome.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/profiles/gnome.py b/profiles/gnome.py
index e6cc75c0..09fac1bb 100644
--- a/profiles/gnome.py
+++ b/profiles/gnome.py
@@ -7,6 +7,7 @@ is_top_level_profile = False
# Note: GDM should be part of the gnome group, but adding it here for clarity
__packages__ = ["gnome", "gnome-tweaks", "gdm"]
+
def _prep_function(*args, **kwargs):
"""
Magic function called by the importing installer
@@ -24,6 +25,7 @@ def _prep_function(*args, **kwargs):
else:
print('Deprecated (??): xorg profile has no _prep_function() anymore')
+
# Ensures that this code only gets executed if executed
# through importlib.util.spec_from_file_location("gnome", "/somewhere/gnome.py")
# or through conventional import gnome
@@ -34,6 +36,6 @@ if __name__ == 'gnome':
# Install the GNOME packages
archinstall.storage['installation_session'].add_additional_packages(__packages__)
- archinstall.storage['installation_session'].enable_service('gdm') # Gnome Display Manager
+ archinstall.storage['installation_session'].enable_service('gdm') # Gnome Display Manager
# We could also start it via xinitrc since we do have Xorg,
# but for gnome that's deprecated and wayland is preferred.