summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2009-04-01 10:34:08 -0400
committerChris Lumens <clumens@redhat.com>2009-04-01 10:34:42 -0400
commit614f075900f656271e4aaba840f29262ac5bbbed (patch)
tree4dc084f2a2d8526529e4dd9ba49b7c9d31123231
parentbc1b0540e525b3c291c60b0865d43ed6bbd6a0eb (diff)
downloadanaconda-614f075900f656271e4aaba840f29262ac5bbbed.tar.gz
anaconda-614f075900f656271e4aaba840f29262ac5bbbed.tar.xz
anaconda-614f075900f656271e4aaba840f29262ac5bbbed.zip
get_containing_device takes two arguments (#493266).
-rw-r--r--storage/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/__init__.py b/storage/__init__.py
index 16a69222d..7c17ec81e 100644
--- a/storage/__init__.py
+++ b/storage/__init__.py
@@ -1227,7 +1227,7 @@ class FSSet(object):
elif devspec.startswith("/") and fstype == "swap":
# swap file
device = FileDevice(devspec,
- parents=get_containing_device(devspec),
+ parents=get_containing_device(devspec, self.devicetree),
format=getFormat(fstype,
device=devspec,
exists=True),
@@ -1237,7 +1237,7 @@ class FSSet(object):
# turn up false positives
fstype = "bind"
device = FileDevice(devspec,
- parents=get_containing_device(devspec),
+ parents=get_containing_device(devspec, self.devicetree),
exists=True)
device.format = getFormat("bind",
device=device.path,