[mnet-devel] Re: [mnet-cvs]bugfix suggested by arno
Arno Waschk
hamamatsu at gmx.de
Sun Mar 14 00:54:06 GMT 2004
sorry, i am pretty sure that this is not what you want to do...
There is already an assert for that before in the code, so i had not run
the broker with python -OO, it would have died some lines earlier.
In the meanwhile i found out that this error seems to happen always when
the thing comes in as a late reply. Maybe that helps?
Arno
On Sat, 13 Mar 2004 16:36:54 -0800, Zooko O'Whielacronx
<zooko at users.sourceforge.net> wrote:
> Update of /cvsroot/mnet/mnet/common
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6501/common
>
> Modified Files:
> peerman.py
> Log Message:
> * bugfix suggested by arno
>
> Index: peerman.py
> ===================================================================
> RCS file: /cvsroot/mnet/mnet/common/peerman.py,v
> retrieving revision 1.41
> retrieving revision 1.42
> diff -u -d -r1.41 -r1.42
> --- peerman.py 11 Mar 2004 12:06:11 -0000 1.41
> +++ peerman.py 14 Mar 2004 00:36:51 -0000 1.42
> @@ -368,7 +368,8 @@
> assert l # should have at least one callback in it
> for dmMTs in l:
> dmMTs(widget, outcome,
> failure_reason=failure_reason)
> - del self.lookups[(mtId, nodeId,)]
> + if self.lookups.has_key((mtId, nodeId,)):
> + del self.lookups[(mtId, nodeId,)]
>
> l = self.lookups.get((mtId, nodeId,), [])
> l.append(demultiplex_MTs)
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> mnet-cvs mailing list
> mnet-cvs at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mnet-cvs
>
--
http://www.arnowaschk.de
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel
More information about the Mnet-devel
mailing list