diff options
author | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-30 18:25:20 -0400 |
---|---|---|
committer | Ned Batchelder <ned@nedbatchelder.com> | 2011-08-30 18:25:20 -0400 |
commit | 356c71790fd3e5f40326cb49f43662ca50a9f45a (patch) | |
tree | a9540e1e3d331362755ce528d14881b8bc3d0133 | |
parent | 81ea588e932821af8e05eb211923fb0fbf267ca1 (diff) | |
download | python-coveragepy-git-356c71790fd3e5f40326cb49f43662ca50a9f45a.tar.gz |
History descriptions can have commas in them.
-rw-r--r-- | doc/_ext/px_xlator.py | 2 |
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")
|