summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2013-01-10 11:43:38 -0600
committerDavid Lehman <dlehman@redhat.com>2013-01-28 13:15:12 -0600
commit5a267888408208d3c61835200b5bc83d3a967767 (patch)
tree61126f696bae3546ad07aee38a0094ce807139c1
parentea9f0d7cfee26140f6244899b48ae2125688bbba (diff)
downloadanaconda-5a267888408208d3c61835200b5bc83d3a967767.tar.gz
anaconda-5a267888408208d3c61835200b5bc83d3a967767.tar.xz
anaconda-5a267888408208d3c61835200b5bc83d3a967767.zip
Remove anaconda flag checking from OpticalDevice.eject.
Anaconda doesn't eject cdrom under any circumstances.
-rw-r--r--pyanaconda/storage/devices.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/pyanaconda/storage/devices.py b/pyanaconda/storage/devices.py
index 56f871afd..1a4b4d071 100644
--- a/pyanaconda/storage/devices.py
+++ b/pyanaconda/storage/devices.py
@@ -3779,10 +3779,6 @@ class OpticalDevice(StorageDevice):
#try to umount and close device before ejecting
self.teardown()
- if flags.cmdline.has_key('noeject'):
- log.info("noeject in effect, not ejecting cdrom")
- return
-
try:
util.run_program(["eject", self.name])
except OSError as e: