From c1692a478d683dee0395333e55c49e1866a35eb2 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 30 Sep 2020 12:46:34 +0000 Subject: __name__ missmatch in gnome profile. --- profiles/gnome.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/profiles/gnome.py b/profiles/gnome.py index 0481eded..44fd642f 100644 --- a/profiles/gnome.py +++ b/profiles/gnome.py @@ -20,9 +20,9 @@ def _prep_function(*args, **kwargs): 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("awesome", "/somewhere/awesome.py") -# or through conventional import awesome -if __name__ == 'awesome': +# through importlib.util.spec_from_file_location("gnome", "/somewhere/gnome.py") +# or through conventional import gnome +if __name__ == 'gnome': # Install dependency profiles installation.install_profile('xorg') -- cgit v1.2.3-70-g09d2