fixed improperly written ksflatten error handler
This commit is contained in:
parent
589a8ee481
commit
0e322ac4e4
1 changed files with 2 additions and 2 deletions
|
|
@ -2246,9 +2246,9 @@ class ImageTask(BaseTaskHandler):
|
|||
|
||||
try:
|
||||
ks.readKickstart(kspath)
|
||||
except IOError, (err, msg):
|
||||
except IOError, e:
|
||||
raise koji.LiveCDError("Failed to read kickstart file "
|
||||
"'%s' : %s" % (kspath, msg))
|
||||
"'%s' : %s" % (kspath, e))
|
||||
except kserrors.KickstartError, e:
|
||||
raise koji.LiveCDError("Failed to parse kickstart file "
|
||||
"'%s' : %s" % (kspath, e))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue