From 8fe8f5478e84adbe28cca63d72b9ea6552ae79e9 Mon Sep 17 00:00:00 2001 From: David Cantrell Date: Tue, 3 Mar 2009 16:58:28 -1000 Subject: Return whatever we get here, we don't care if bootDev is None here. This function will return None until the user sets up a /boot or a / filesystem. --- platform.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'platform.py') diff --git a/platform.py b/platform.py index ef9ff0c8d..4adc5d106 100644 --- a/platform.py +++ b/platform.py @@ -62,12 +62,7 @@ class Platform(object): raise NotImplementedError("bootDevice not implemented for this platform") mntDict = self._mntDict() - bootDev = mntDict.get("/boot", mntDict.get("/")) - - if not bootDev: - raise DeviceError("No bootable device found") - else: - return bootDev + return mntDict.get("/boot", mntDict.get("/")) @property def bootFSType(self): -- cgit