summaryrefslogtreecommitdiffstats
path: root/storage/devices.py
diff options
context:
space:
mode:
Diffstat (limited to 'storage/devices.py')
-rw-r--r--storage/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/devices.py b/storage/devices.py
index 41bf0a1d7..320e23db5 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)