diff options
author | Chris Lumens <clumens@redhat.com> | 2006-03-23 19:37:04 +0000 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2006-03-23 19:37:04 +0000 |
commit | b070651651ce88d644ffde178596b3f8948a99fb (patch) | |
tree | 3fcd5b4978346e2e45db1342ac24364d685e8bc3 /anaconda | |
parent | 6dfc427d02ed8f5f5f99ca99754dfad97c790236 (diff) | |
download | anaconda-b070651651ce88d644ffde178596b3f8948a99fb.tar.gz anaconda-b070651651ce88d644ffde178596b3f8948a99fb.tar.xz anaconda-b070651651ce88d644ffde178596b3f8948a99fb.zip |
Remove customClass.
Diffstat (limited to 'anaconda')
-rwxr-xr-x | anaconda | 19 |
1 files changed, 0 insertions, 19 deletions
@@ -454,7 +454,6 @@ op.add_option("-T", "--text", dest="display_mode", action="store_const", const=" # Method of operation op.add_option("--autostep", action="store_true", default=False) -op.add_option("--class", dest="customClass") op.add_option("-d", "--debug", dest="debug", action="store_true", default=False) op.add_option("--expert", action="store_true", default=False) op.add_option("--kickstart", dest="ksfile") @@ -723,24 +722,6 @@ if not flags.test: iutil.makeCharDeviceNodes() # -# handle class passed from loader -# -if opts.customClass: - import installclass - - classes = installclass.availableClasses(showHidden=1) - for (className, objectClass, logo) in classes: - if className == opts.customClass: - instClass = objectClass(flags.expert) - - if not instClass: - sys.stderr.write("installation class %s not available\n" % customClass) - sys.stderr.write("\navailable classes:\n") - for (className, objectClass, logo) in classes: - sys.stderr.write("\t%s\n" % className) - sys.exit(1) - -# # if no instClass declared by user figure it out based on other cmdline args # if not instClass: |