[Epydoc-commits] SF.net SVN: epydoc: [1605] trunk/epydoc/src/epydoc/docwriter/html.py
Brought to you by:
edloper
|
From: <ed...@us...> - 2007-09-23 01:49:00
|
Revision: 1605
http://epydoc.svn.sourceforge.net/epydoc/?rev=1605&view=rev
Author: edloper
Date: 2007-09-22 18:48:58 -0700 (Sat, 22 Sep 2007)
Log Message:
-----------
- Fixed bug in _terms_from_docstring introduced by recent checkin
Modified Paths:
--------------
trunk/epydoc/src/epydoc/docwriter/html.py
Modified: trunk/epydoc/src/epydoc/docwriter/html.py
===================================================================
--- trunk/epydoc/src/epydoc/docwriter/html.py 2007-09-22 19:32:26 UTC (rev 1604)
+++ trunk/epydoc/src/epydoc/docwriter/html.py 2007-09-23 01:48:58 UTC (rev 1605)
@@ -2866,7 +2866,7 @@
if parsed_docstring in (None, UNKNOWN): return []
terms = []
# Strip any existing anchor off:
- base_url = re.sub('#.*', '', base_url)
+ base_url = re.sub('#.*', '', '%s' % (base_url,))
for term in parsed_docstring.index_terms():
anchor = self._term_index_to_anchor(term)
url = '%s#%s' % (base_url, anchor)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|