summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Shorin <kxepal@apache.org>2013-10-15 02:54:47 +0400
committerAlexander Shorin <kxepal@apache.org>2013-10-15 02:54:47 +0400
commit08f0009d47e4f39f49fee820647f7051c6496b03 (patch)
treeaff63b35405430cccf009ad430e4a95c64b99d3c
parent1f41f0b6098693696bc57c28d9ae736b5da6f6c0 (diff)
downloadcouchdb-08f0009d47e4f39f49fee820647f7051c6496b03.tar.gz
Fix httpdomain compatibility issue with Python 2.6
-rw-r--r--share/doc/ext/httpdomain.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/doc/ext/httpdomain.py b/share/doc/ext/httpdomain.py
index afc81b564..d5d56527c 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):