diff options
author | Joel Granados Moreno <jgranado@redhat.com> | 2009-03-27 11:38:57 +0100 |
---|---|---|
committer | Joel Granados Moreno <jgranado@redhat.com> | 2009-03-27 16:16:14 +0100 |
commit | a88b876ee50687de6396229fef0a77c232cceece (patch) | |
tree | bec946f9275a057f4c6e7c1294736af6aa1c6dde | |
parent | a6cca07d229f15c05e582590f974ebb43bd66290 (diff) | |
download | anaconda-a88b876ee50687de6396229fef0a77c232cceece.tar.gz anaconda-a88b876ee50687de6396229fef0a77c232cceece.tar.xz anaconda-a88b876ee50687de6396229fef0a77c232cceece.zip |
Use self.name to report that we could not eject cd.
-rw-r--r-- | storage/devices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devices.py b/storage/devices.py index 2f1319e34..9f8270ad6 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -2684,7 +2684,7 @@ class OpticalDevice(StorageDevice): try: _isys.ejectcdrom(fd) except SystemError as e: - log.warning("error ejecting cdrom %s: %s" % (device, e)) + log.warning("error ejecting cdrom %s: %s" % (self.name, e)) os.close(fd) |