On Fri, Nov 15, 2013 at 08:11:07AM -0800, Dylan Baker wrote: > > + if amount == 'None': > > + return 'None' > > the python idiom is 'if not amount: return None' These are strings, not the built-in.
> on a more practicle note, why roll all of this instead of just using > datetime.timedelta? Because it was giving me much more control on how I wanted to display the time, as you can see. -- Damien _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
