[firstboot 04/13] Added reconfig property to module and moduleset

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 firstboot/module.py    |    4 ++++
 firstboot/moduleset.py |    4 ++++
 2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/firstboot/module.py b/firstboot/module.py
index 6e94b8d..1b7fadc 100644
--- a/firstboot/module.py
+++ b/firstboot/module.py
@@ -184,3 +184,7 @@ class Module:
            that need other behavior should override this method.
         """
         return True
+
+    @property
+    def reconfig(self):
+        return self.mode == MODE_RECONFIG
diff --git a/firstboot/moduleset.py b/firstboot/moduleset.py
index 32cf009..e356288 100644
--- a/firstboot/moduleset.py
+++ b/firstboot/moduleset.py
@@ -154,3 +154,7 @@ class ModuleSet:
            behavior should override this method.
         """
         return True
+
+    @property
+    def reconfig(self):
+        return self.mode == MODE_RECONFIG
-- 
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux