Updated Branches: refs/heads/master 1f41f0b60 -> 08f0009d4
Fix httpdomain compatibility issue with Python 2.6 Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/08f0009d Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/08f0009d Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/08f0009d Branch: refs/heads/master Commit: 08f0009d47e4f39f49fee820647f7051c6496b03 Parents: 1f41f0b Author: Alexander Shorin <[email protected]> Authored: Tue Oct 15 02:54:47 2013 +0400 Committer: Alexander Shorin <[email protected]> Committed: Tue Oct 15 02:54:47 2013 +0400 ---------------------------------------------------------------------- share/doc/ext/httpdomain.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/08f0009d/share/doc/ext/httpdomain.py ---------------------------------------------------------------------- diff --git a/share/doc/ext/httpdomain.py b/share/doc/ext/httpdomain.py index afc81b5..d5d5652 100644 --- a/share/doc/ext/httpdomain.py +++ b/share/doc/ext/httpdomain.py @@ -46,7 +46,7 @@ class DocRef(object): location of the RFC which defines some HTTP method. """ - return '{}#{}{}'.format(self.base_url, self.anchor, self.section) + return '{0}#{1}{2}'.format(self.base_url, self.anchor, self.section) class RFC2616Ref(DocRef): @@ -62,7 +62,7 @@ class IETFRef(DocRef): def __init__(self, rfc, section): url = 'http://tools.ietf.org/html/rfc{0:d}'.format(rfc) super(IETFRef, self).__init__(url, 'section-', section) - + class EventSourceRef(DocRef):
