[PATCH blivet] Device._id -> Device.id

Vratislav Podzimek vpodzime at redhat.com
Wed Jan 15 15:18:44 UTC 2014


On Wed, 2014-01-15 at 10:13 -0500, Chris Lumens wrote:
> ---
>  blivet/devices.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/blivet/devices.py b/blivet/devices.py
> index 659644c..fbcfbe9 100644
> --- a/blivet/devices.py
> +++ b/blivet/devices.py
> @@ -3925,7 +3925,7 @@ class LoopDevice(StorageDevice):
>  
>          if not name:
>              # set up a temporary name until we've activated the loop device
> -            name = "tmploop%d" % Device._id
> +            name = "tmploop%d" % Device.id
>  
>          StorageDevice.__init__(self, name, format=format, size=size,
>                                 exists=True, parents=parents)
ACK.

-- 
Vratislav Podzimek

Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic



More information about the anaconda-patches mailing list