From cab8c7d43a9ada09269c3baae73cc724e4372538 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Thu, 1 Apr 2021 20:45:45 +0200 Subject: Move class-related docstring to class definition --- archinstall/lib/systemd.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'archinstall/lib/systemd.py') diff --git a/archinstall/lib/systemd.py b/archinstall/lib/systemd.py index edd75098..b644bc21 100644 --- a/archinstall/lib/systemd.py +++ b/archinstall/lib/systemd.py @@ -26,15 +26,15 @@ class Ini(): return result class Systemd(Ini): + """ + Placeholder class to do systemd specific setups. + """ def __init__(self, *args, **kwargs): - """ - Placeholder class to do systemd specific setups. - """ super(Systemd, self).__init__(*args, **kwargs) class Networkd(Systemd): + """ + Placeholder class to do systemd-network specific setups. + """ def __init__(self, *args, **kwargs): - """ - Placeholder class to do systemd-network specific setups. - """ - super(Networkd, self).__init__(*args, **kwargs) \ No newline at end of file + super(Networkd, self).__init__(*args, **kwargs) -- cgit v1.2.3-70-g09d2 From c0cfa7ae929a55cf2ea4458f758e9196242a3cc9 Mon Sep 17 00:00:00 2001 From: Richard Neumann Date: Thu, 1 Apr 2021 20:46:28 +0200 Subject: Remove useless __init__ methods --- archinstall/lib/systemd.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'archinstall/lib/systemd.py') diff --git a/archinstall/lib/systemd.py b/archinstall/lib/systemd.py index b644bc21..f2b7c9b3 100644 --- a/archinstall/lib/systemd.py +++ b/archinstall/lib/systemd.py @@ -29,12 +29,8 @@ class Systemd(Ini): """ Placeholder class to do systemd specific setups. """ - def __init__(self, *args, **kwargs): - super(Systemd, self).__init__(*args, **kwargs) class Networkd(Systemd): """ Placeholder class to do systemd-network specific setups. """ - def __init__(self, *args, **kwargs): - super(Networkd, self).__init__(*args, **kwargs) -- cgit v1.2.3-70-g09d2