FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Kubuntu User

 
 
LinkBack Thread Tools
 
Old 04-01-2011, 10:05 AM
Martin Gracik
 
Default Use the new loader in moduleset

---
firstboot/moduleset.py | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/firstboot/moduleset.py b/firstboot/moduleset.py
index e356288..04860e6 100644
--- a/firstboot/moduleset.py
+++ b/firstboot/moduleset.py
@@ -107,8 +107,11 @@ class ModuleSet:
mode -- The mode of operation firstboot is running under.
"""
if self.path is not None:
- from firstboot.loader import loadModules
- self.moduleList = loadModules(self.path, mode)
+ # XXX
+ reconfig = True if mode == MODE_RECONFIG else False
+
+ from firstboot.loader import load_modules
+ self.moduleList = load_modules(self.path, reconfig)

def needsNetwork(self):
"""Does this module set require the network to be active in order to
--
1.7.3.2

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

Thread Tools




All times are GMT. The time now is 01:49 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org