[master 1/4] Remove deprecated --rootPath and --test.

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

 



It has been deprecated since e1cf0ff8 and Fedora 13.
---
 anaconda |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/anaconda b/anaconda
index 6ca3391..250b2ea 100755
--- a/anaconda
+++ b/anaconda
@@ -219,12 +219,6 @@ def parseOptions(argv = None):
     op.add_option("--dlabel", action="store_true", default=False)
     op.add_option("--image", action="append", dest="images", default=[])
 
-    # Deprecated, unloved, unused
-    op.add_option("-r", "--rootPath", dest="unsupportedMode",
-                  action="store_const", const="root path")
-    op.add_option("-t", "--test", dest="unsupportedMode",
-                  action="store_const", const="test")
-
     return op.parse_args(argv)
 
 def setupPythonPath():
@@ -608,10 +602,6 @@ if __name__ == "__main__":
     # check memory, just the text mode for now:
     check_memory(anaconda, opts, 't')
 
-    if opts.unsupportedMode:
-        stdoutLog.error("Running anaconda in %s mode is no longer supported." % opts.unsupportedMode)
-        sys.exit(0)
-
     # Now that we've got arguments, do some extra processing.
     setupLoggingFromOpts(opts)
 
-- 
1.7.6

_______________________________________________
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