|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80209 - website/public_html/live/site-tools/boost_site
From: dnljms_at_[hidden]
Date: 2012-08-25 14:07:26
Author: danieljames
Date: 2012-08-25 14:07:26 EDT (Sat, 25 Aug 2012)
New Revision: 80209
URL: http://svn.boost.org/trac/boost/changeset/80209
Log:
Website: fix site-tools for python 2.6 and earlier.
Text files modified:
website/public_html/live/site-tools/boost_site/util.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: website/public_html/live/site-tools/boost_site/util.py
==============================================================================
--- website/public_html/live/site-tools/boost_site/util.py (original)
+++ website/public_html/live/site-tools/boost_site/util.py 2012-08-25 14:07:26 EDT (Sat, 25 Aug 2012)
@@ -16,7 +16,7 @@
http://bugs.python.org/issue9883
"""
x = ''.join(x.toxml('utf-8').decode('utf-8') for x in fragment.childNodes)
- x = re.sub(r' +$', '', x, flags = re.M)
+ x = re.compile(r' +$', flags = re.M).sub('', x)
return x
def base_links(node, base_link):
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk