Once upon a time, the python attrfind regex was buggy. In particular, it
was missing "@" which plucker needed for mailto:. In current releases,
python is correct (and plucker still has other bugs). So this patch stops
the override, but gives the correct string in a comment in case they are
using an older python.
44,47c44,53
< sgmllib.attrfind = re.compile(
< '[%s]*([a-zA-Z_][-.a-zA-Z_0-9]*)' % string.whitespace
< + ('([%s]*=[%s]*' % (string.whitespace, string.whitespace))
< + r'(\'[^\']*\'|"[^"]*"|[-a-zA-Z0-9,@./:+*%?!\(\)_#=~]*))?')
---
>
> #
> # This bugfix is already in newer pythons.
> # If you have an older version (which does not include the "@") go ahead
> # and uncomment this line -- or just upgrade your sgmllib.
> #
> #sgmllib.attrfind = re.compile(
> # r'\s*([a-zA-Z_][-:.a-zA-Z_0-9]*)(\s*=\s*'
> # r'(\'[^\']*\'|"[^"]*"|[-a-zA-Z0-9./,:;+*%?!&$\(\)_#=~\'"@]*))?')
> #
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev