Mercurial > genshi > mirror
changeset 706:dc969bd1ad4c trunk
Fix Python 2.3 compatibility of HTMLSanitizer doctest.
author | cmlenz |
---|---|
date | Sun, 06 Apr 2008 20:33:31 +0000 |
parents | e5b0d9d6b406 |
children | af9f182f698a |
files | genshi/filters/html.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/genshi/filters/html.py +++ b/genshi/filters/html.py @@ -14,9 +14,10 @@ """Implementation of a number of stream filters.""" try: - frozenset + set except NameError: from sets import ImmutableSet as frozenset + from sets import Set as set import re from genshi.core import Attrs, QName, stripentities