summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2011-08-30 18:25:20 -0400
committerNed Batchelder <ned@nedbatchelder.com>2011-08-30 18:25:20 -0400
commit356c71790fd3e5f40326cb49f43662ca50a9f45a (patch)
treea9540e1e3d331362755ce528d14881b8bc3d0133
parent81ea588e932821af8e05eb211923fb0fbf267ca1 (diff)
downloadpython-coveragepy-git-356c71790fd3e5f40326cb49f43662ca50a9f45a.tar.gz
History descriptions can have commas in them.
-rw-r--r--doc/_ext/px_xlator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/_ext/px_xlator.py b/doc/_ext/px_xlator.py
index f4ddc101..98929e9c 100644
--- a/doc/_ext/px_xlator.py
+++ b/doc/_ext/px_xlator.py
@@ -42,7 +42,7 @@ class PxTranslator(BaseHtmlXlator):
if self.history:
self.body.append("<history>\n")
for hist in self.history:
- when, what = hist.split(',')
+ when, what = hist.split(',', 1)
self.body.append("<what when='%s'>%s</what>\n" % (when, self.encode(what.strip())))
self.body.append("</history>\n")