Re: [PATCH] Use self.name to report that we could not eject cd.

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

 



>  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)

Likewise, though with something this simple it probably doesn't matter.
Please make sure to include the bug numbers in the commit messages for
our future reference.

- Chris

_______________________________________________
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