commandMap and dataMap are now updates to the existing dict.
This means we only have to specify those handlers and data objects we
require special versions of, not all of them.
---
kickstart.py | 43 +++++++++++--------------------------------
1 files changed, 11 insertions(+), 32 deletions(-)
superclass = returnClassForVersion()
@@ -1110,7 +1089,7 @@ class AnacondaKSHandler(superclass):
# This handler class processes all kickstart commands. It is used in the
# second parsing pass - when we do all the real work.
def __init__ (self, anaconda):
- superclass.__init__(self, mapping=commandMap)
+ superclass.__init__(self, commandUpdates=commandMap, dataUpdates=dataMap)
self.packages = AnacondaKSPackages()
self.permanentSkipSteps = []
--
1.6.5.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list