diff options
author | scoder <none@none> | 2008-01-21 19:39:44 +0100 |
---|---|---|
committer | scoder <none@none> | 2008-01-21 19:39:44 +0100 |
commit | 2430e2939a8323554d66f70407a557faabf8584d (patch) | |
tree | faeaa11b65bb503224b55ea32e16b2f43c6de325 /src/lxml/html/diff.py | |
parent | e06d2c8d369ba3669b9d1a4944d0adf24cba6584 (diff) | |
download | python-lxml-2430e2939a8323554d66f70407a557faabf8584d.tar.gz |
[svn r3182] r3276@delle: sbehnel | 2008-01-21 14:51:38 +0100
run HTML doctests only under Python 2.4+, fix some 2.4-isms in the tests
--HG--
branch : trunk
Diffstat (limited to 'src/lxml/html/diff.py')
-rw-r--r-- | src/lxml/html/diff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lxml/html/diff.py b/src/lxml/html/diff.py index bfb6d197..6ef2371e 100644 --- a/src/lxml/html/diff.py +++ b/src/lxml/html/diff.py @@ -703,7 +703,7 @@ def start_tag(el): """ return '<%s%s>' % ( el.tag, ''.join([' %s="%s"' % (name, cgi.escape(value, True)) - for name, value in el.attrib.items())]) + for name, value in el.attrib.items()])) def end_tag(el): """ The text representation of an end tag for a tag. Includes |