summaryrefslogtreecommitdiffstats
path: root/instdata.py
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2009-02-27 10:18:46 -0600
committerDavid Lehman <dlehman@redhat.com>2009-02-27 10:18:46 -0600
commit77e052201c1aa258def5fdde5c9b8745b79611f2 (patch)
treeebcdf7465fc944b97bd0b008a82cef0cb1d998ba /instdata.py
parentaddec40bb65f80a7f38166c5c87561d362b31fc9 (diff)
downloadanaconda-77e052201c1aa258def5fdde5c9b8745b79611f2.tar.gz
anaconda-77e052201c1aa258def5fdde5c9b8745b79611f2.tar.xz
anaconda-77e052201c1aa258def5fdde5c9b8745b79611f2.zip
Lots of minor fixes and cleanups. A non-exhaustive list follows.
- Change minsize/maxsize to minSize/maxSize since that's the convention elsewhere throughout the code. - Redirect output from all external utilities to tty5, not /dev/null. - Don't waste calls to basename for debug log statements, especially when the device can be None. - Add lots of missing imports. - Fix lots of remnants of previous code usage.
Diffstat (limited to 'instdata.py')
-rw-r--r--instdata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/instdata.py b/instdata.py
index 86f389363..c0aaf924d 100644
--- a/instdata.py
+++ b/instdata.py
@@ -98,7 +98,8 @@ class InstallData:
method = self.anaconda.methodstr[3:]
devspec = method.split(":", 3)[0]
- device = storage.resolveDevice(devspec)
+ # XXX might as well move resolveDevice into DeviceTree
+ device = storage.resolveDevice(self.storage.devicetree, devspec)
if device is None:
if self.getUpgrade():
return