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
commitcf4dc8bea37b480f01b4e36161334c00574be3d8 (patch)
tree267d637ba52b4d5992256eb0c27e50e82d5e209f
parent95d68ac40f5038dea3ab674d60547cf8a63cdd73 (diff)
downloadpython-coveragepy-cf4dc8bea37b480f01b4e36161334c00574be3d8.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 f4ddc10..98929e9 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")