decman.modules should be a list

This commit is contained in:
Kivi Kaitaniemi
2025-12-28 05:02:17 +02:00
parent 7e0b49be2f
commit 9b3454f434
18 changed files with 47 additions and 19 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class Example(decman.Plugin):
def available(self) -> bool:
return os.path.exists("/tmp/example_plugin_available")
def process_modules(self, store: decman.Store, modules: set[decman.Module]):
def process_modules(self, store: decman.Store, modules: list[decman.Module]):
# Toy example for setting modules as changed
for module in modules:
module._changed = True