From: andrei@andreimaxim.ro (Andrei Maxim)
Subject: [sup-talk] to_time_s
Date: Thu, 29 Nov 2007 02:58:33 +0200 [thread overview]
Message-ID: <a630bbc30711281658h3b515c57k529289402eab7ce1@mail.gmail.com> (raw)
In-Reply-To: <1196269623-sup-7802@south>
On 11/28/07, William Morgan <wmorgan-sup at masanjin.net> wrote:
>
> Excerpts from Andrei Maxim's message of Tue Nov 27 18:19:43 -0800 2007:
> > [Wed Nov 28 03:50:30 +0200 2007] unlocking /Users/andrei/.sup/lock...
> > /usr/local/lib/ruby/gems/1.8/gems/sup-0.3/bin/sup-sync:14:in `to_i':
> > Infinity (FloatDomainError)
>
> Heh. Does this patch help?
>
> --- bin/sup-sync (revision 731)
> +++ bin/sup-sync (working copy)
> @@ -7,6 +7,9 @@
>
> class Float
> def to_s; sprintf '%.2f', self; end
> + def to_time_s
> + infinite? ? "unknown" : super
> + end
> end
>
I have decided to delete most of the emails and it worked ok. But thanks for
the patch :)
--
Andrei Maxim
http://andreimaxim.ro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/sup-talk/attachments/20071129/57c172b4/attachment.html
prev parent reply other threads:[~2007-11-29 0:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-28 2:19 Andrei Maxim
2007-11-28 17:08 ` William Morgan
2007-11-29 0:58 ` Andrei Maxim [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a630bbc30711281658h3b515c57k529289402eab7ce1@mail.gmail.com \
--to=andrei@andreimaxim.ro \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox