mirror of
https://github.com/kiviktnm/decman.git
synced 2026-11-04 00:30:16 +00:00
decman.modules should be a list
This commit is contained in:
1 parent
7e0b49be2f
commit
9b3454f434
18 files changed
+47
-19
No files matched your search
@@ -83,7 +83,7 @@ class Systemd(plugins.Plugin):
|
||||
def available(self) -> bool:
|
||||
return shutil.which("systemctl") is not None
|
||||
|
||||
def process_modules(self, store: _store.Store, modules: set[module.Module]):
|
||||
def process_modules(self, store: _store.Store, modules: list[module.Module]):
|
||||
# These store keys are used to track changes in modules.
|
||||
# This way when these change, module can be marked as changed
|
||||
store.ensure("systemd_units_for_module", {})
|
||||
|
||||
Reference in new issue
Block a user