From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Wed, 28 Nov 2007 09:08:45 -0800 Subject: [sup-talk] to_time_s In-Reply-To: References: Message-ID: <1196269623-sup-7802@south> 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 -- William