[Teammetrics-discuss] Error in liststat.py
Andreas Tille
andreas at an3as.eu
Sat Aug 6 22:50:24 UTC 2011
On Sat, Aug 06, 2011 at 06:22:06PM +0530, Sukhbir Singh wrote:
> Surprisingly, the code worked well on Python 2.7! Here is the `diff`
> between 2.6 and 2.7:
>
> - return re.sub(r'=\w{2}', _unquote_match, s)
> + return re.sub(r'=[a-fA-F0-9]{2}', _unquote_match, s)
>
> That explains it ;)
Hmmm, I would have never expected that 2.6 has problems with \w ...
It seems to work now. Just running nntpstat.py over night ...
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Teammetrics-discuss
mailing list