--- storage/devices.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 2f1319e..9f8270a 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) -- 1.6.0.6 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list