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 | cf4dc8bea37b480f01b4e36161334c00574be3d8 (patch) | |
| tree | 267d637ba52b4d5992256eb0c27e50e82d5e209f /doc/_ext | |
| parent | 95d68ac40f5038dea3ab674d60547cf8a63cdd73 (diff) | |
| download | python-coveragepy-cf4dc8bea37b480f01b4e36161334c00574be3d8.tar.gz | |
History descriptions can have commas in them.
Diffstat (limited to 'doc/_ext')
| -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 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")
|
