From: "Brian C. Lane" bcl@redhat.com
--- pyanaconda/kickstart.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py index 05dee87..381efb4 100644 --- a/pyanaconda/kickstart.py +++ b/pyanaconda/kickstart.py @@ -344,7 +344,7 @@ class BTRFSData(commands.btrfs.F17_BTRFSData): dev = None
if dev and dev.format.type != "btrfs": - raise KickstartValueError, formatErrorMsg(self.lineno, msg="BTRFS partition %s has incorrect format (%s)" % (member, dev.format.type)) + raise KickstartValueError(formatErrorMsg(self.lineno, msg="BTRFS partition %s has incorrect format (%s)" % (member, dev.format.type)))
if not dev: raise KickstartValueError(formatErrorMsg(self.lineno, msg="Tried to use undefined partition %s in BTRFS volume specification" % member)) @@ -1172,7 +1172,7 @@ class RaidData(commands.raid.F18_RaidData): dev = None
if dev and dev.format.type != "mdmember": - raise KickstartValueError, formatErrorMsg(self.lineno, msg="RAID member %s has incorrect format (%s)" % (mem, dev.format.type)) + raise KickstartValueError(formatErrorMsg(self.lineno, msg="RAID member %s has incorrect format (%s)" % (mem, dev.format.type)))
if not dev: raise KickstartValueError(formatErrorMsg(self.lineno, msg="Tried to use undefined partition %s in RAID specification" % mem)) @@ -1395,7 +1395,7 @@ class VolGroupData(commands.volgroup.FC16_VolGroupData): dev = None
if dev and dev.format.type != "lvmpv": - raise KickstartValueError, formatErrorMsg(self.lineno, msg="Physical Volume %s has incorrect format (%s)" % (pv, dev.format.type)) + raise KickstartValueError(formatErrorMsg(self.lineno, msg="Physical Volume %s has incorrect format (%s)" % (pv, dev.format.type)))
if not dev: raise KickstartValueError(formatErrorMsg(self.lineno, msg="Tried to use undefined partition %s in Volume Group specification" % pv))
anaconda-patches@lists.fedorahosted.org