[mnet-devel] Re: [mnet-cvs]cleanup debugprints; not bumping vernum
Arno Waschk
hamamatsu at gmx.de
Sat Mar 6 14:11:50 GMT 2004
these changes should not be necessary, here the logs are already nice, and
debugprint should take care of that anyway. Arno
On Sat, 06 Mar 2004 04:48:20 -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-serv15447/common
>
> Modified Files:
> MojoTransaction.py
> Log Message:
> * cleanup debugprints; not bumping vernum
>
> Index: MojoTransaction.py
> ===================================================================
> RCS file: /cvsroot/mnet/mnet/common/MojoTransaction.py,v
> retrieving revision 1.75
> retrieving revision 1.76
> diff -u -d -r1.75 -r1.76
> --- MojoTransaction.py 18 Feb 2004 07:17:50 -0000 1.75
> +++ MojoTransaction.py 6 Mar 2004 12:48:17 -0000 1.76
> @@ -989,11 +989,11 @@
> if config.MAX_VERBOSITY >= 5:
> debugprint("---> %s: sending: %s, %s bytes uncomp\n" %
> (humread.abbrev(counterparty_id), MojoMessage.repr_msg(msg), len(msg),),
> v=5) # super verbose
> elif config.MAX_VERBOSITY >= 3:
> - debugprint("---> %s: sending: (id: %s, type: %s, %s bytes
> uncomp, ...)\n", args=(counterparty_id, msgId, conversationtype,
> len(msg),), v=3)
> + debugprint("---> %s: sending: (id: %s, type: %s, %s bytes
> uncomp, ...)\n" % (humread.abbrev(counterparty_id),
> humread.abbrev(msgId), conversationtype, len(msg),), v=3)
> elif config.MAX_VERBOSITY >= 2:
> - debugprint("---> %s: sending: (type: %s, %s bytes uncomp,
> ...)\n", args=(counterparty_id, conversationtype, len(msg),), v=2)
> + debugprint("---> %s: sending: (type: %s, %s bytes uncomp,
> ...)\n" % (humread.abbrev(counterparty_id), conversationtype,
> len(msg),), v=2)
> elif config.MAX_VERBOSITY >= 1:
> - debugprint("---> %s: sending: (%s bytes uncomp, ...)\n",
> args=(counterparty_id, len(msg),), v=1)
> + debugprint("---> %s: sending: (%s bytes uncomp, ...)\n" %
> (humread.abbrev(counterparty_id), len(msg),), v=1)
>
> def fast_fail_handler(badcommstrat, msgId=msgId,
> failure_reason="cannot send message", bad_commstrat=None,
> counterparty_id=counterparty_id, self=self, msg=msg,
> outer_fast_fail_handler=outer_fast_fail_handler,
> whatcommstrat_cb=whatcommstrat_cb, origlivelevel=origlivelevel,
> demoteonfailure=demoteonfailure):
> # debugprint("---> %s: sending: (id: %s); badcommstrat: %s,
> failed to send, forgetting comm strat and trying to look up new
> one...\n", args=(counterparty_id, msgId, badcommstrat,), v=5)
>
>
>
> -------------------------------------------------------
> 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