Jason Tackaberry wrote: > On Tue, 2009-06-16 at 19:17 +0200, Duncan Webb wrote: >> + try: >> + total += length >> + except ValueError: >> + _debug_('Invalid length: %r' % (length,)) > > Shouldn't it be TypeError?
When length = 'None' should be a ValueError, when length = None should be a TypeError. Thanks I'll change it to catch both. Duncan ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel