That, my friend, is ingenious...!

Thankyou

SM

2009/2/3 andrew cooke <and...@acooke.org>

> > > ValueError: unconverted data remains:  this is the remainder of the log
>
> > > line
> > > that I do not care about
>
> you could catch the ValueError and split at the ':' in the .args
> attribute to find the extra data.  you could then find the extra data
> in the original string, use the index to remove it, and re-parse the
> time.
>
> ugly, but should work.
> andrew
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
Simon Mullis
_________________
si...@mullis.co.uk
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to