[OLPC-Games] Pygsear works in the xo?
Lincoln Quirk
lincoln at techhouse.org
Tue Oct 2 15:14:25 EDT 2007
On Tue, Oct 02, 2007 at 12:56:30AM +0200, Jorge Saldivar wrote:
> Thanks Lincoln for your answer,
> I think you are trying to remove some value that does not exist in
> g_blocked. Do you have another idea of what is the cause of the problem?, or
> an idea to solve it?.
I haven't looked at the code, but I suspect the 'remove' method is
raising KeyError when it cannot find the item to be removed. Try making
it catch and ignore KeyError within that loop.
Lincoln
More information about the Games
mailing list