[PATCH 1/9] Remove the module option

Martin Kolman mkolman at redhat.com
Mon Jun 9 16:25:58 UTC 2014


It does not do anything and it looks like it has been like this
for some time.

Signed-off-by: Martin Kolman <mkolman at redhat.com>
---
 anaconda               | 5 -----
 pyanaconda/anaconda.py | 1 -
 2 files changed, 6 deletions(-)

diff --git a/anaconda b/anaconda
index 785bdfd..cd2a35d 100755
--- a/anaconda
+++ b/anaconda
@@ -325,7 +325,6 @@ def parseArguments(argv=None, boot_cmdline=None):
     ap.add_argument("--geoloc")
 
     # Miscellaneous
-    ap.add_argument("--module", action="append", default=[])
     ap.add_argument("--nomount", dest="rescue_nomount", action="store_true", default=False)
     ap.add_argument("--updates", dest="updateSrc", action="store", type=str)
     ap.add_argument("--image", action="append", dest="images", default=[],
@@ -890,10 +889,6 @@ if __name__ == "__main__":
     elif "LIVECMD" in os.environ:
         log.warning("Running via liveinst, but not setting flags.livecdInstall - this is for testing only")
 
-    if opts.module:
-        for mod in opts.module:
-            anaconda.extraModules.append(mod.split(":"))
-
     if opts.ibft:
         flags.ibft = 1
 
diff --git a/pyanaconda/anaconda.py b/pyanaconda/anaconda.py
index b8514be..0e42aec 100644
--- a/pyanaconda/anaconda.py
+++ b/pyanaconda/anaconda.py
@@ -50,7 +50,6 @@ class Anaconda(object):
         self.desktop = desktop.Desktop()
         self.dir = None
         self.displayMode = None
-        self.extraModules = []
         self.id = None
         self._instClass = None
         self._intf = None
-- 
1.9.3



More information about the anaconda-patches mailing list