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

[PATCH 4/8] parents is an attribute on a Device class.



---
 storage/devices.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/storage/devices.py b/storage/devices.py
index 41bf0a1..320e23d 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -282,7 +282,7 @@ class Device(object):
         """
         packages = self._packages
         packages.extend(self.format.packages)
-        for parent in parents:
+        for parent in self.parents:
             for package in parent.packages:
                 if package not in packages:
                     packages.append(package)
-- 
1.6.1.3


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