[PATCH] patchbomb: send messages with a one second delay

Martin Geisler mg at lazybytes.net
Sat May 16 16:28:07 CDT 2009


Marti Raudsepp <marti at juffo.org> writes:

> On Sat, May 16, 2009 at 7:04 PM, Martin Geisler <mg at lazybytes.net> wrote:
>> +                ui.note(_("sleeping for 1 second...\n"))
>> +                time.sleep(1)
>>             ui.status(_('Sending '), subj, ' ...\n')
>
> I think the ui.note call is redundant because ui.status already gives
> you a good indication of progress.

Yeah, you're right. I guess I put it in so that people wont suddenly
think their SMTP server is broken since sending mails is so slow.

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090516/7c8e8f06/attachment.pgp 


More information about the Mercurial-devel mailing list