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

Chris Lumens clumens at redhat.com
Wed Jan 15 15:13:39 UTC 2014


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



More information about the anaconda-patches mailing list