Re: [PATCH] Handle request.drive being a list or string (#485622)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday, February 19 2009, David Cantrell said:
> Prevents tracebacks with 'KeyError: 's''.  request.drive can be a
> list or a string and when iterating it with a for loop, the string
> is broken up in to individual characters.
> 
> For the fix, if we get a KeyError exception, treat request.drive as
> a string and pull the disk from diskset.disks with request.drive as
> the key.

Does it make more sense to instead go through and ensure request.drive
is always a list?  And is this new somehow?

Also, it looks like you've got some other changes mixed in here

Jeremy

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux