[Yum-devel] [BUG] Traceback in sqlitesack.py
Jeremy Katz
katzj at redhat.com
Wed Feb 28 15:25:39 UTC 2007
On Wed, 2007-02-28 at 10:21 -0500, James Bowes wrote:
> seth vidal wrote:
> > Weird. I was able to replicate the error you sent, then I changed the
> > code and the error wasn't there. I still can't replicate it.
>
> I've seen this as well. Attached is my fix; it trys and excepts on
> IndexError, rather than using has_key. I'm running python 2.5, could
> this be due to some differences in sqlite versions?
Heh, that's basically just what I saw and committed[1] :) And yes,
caused by differences in sqlite versions
Jeremy
[1] I check for IndexError and KeyError as you'll get a KeyError from an
old sqlite row
More information about the Yum-devel
mailing list