couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [1/3] git commit: updated refs/heads/1.5.x to 90cecc2
Date Tue, 15 Oct 2013 17:08:12 GMT
Updated Branches:
  refs/heads/1.5.x 976916d44 -> 90cecc20e


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/c9698b41
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/c9698b41
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/c9698b41

Branch: refs/heads/1.5.x
Commit: c9698b414497121803d51af6098cecad7044147c
Parents: 976916d
Author: Alexander Shorin <kxepal@apache.org>
Authored: Tue Oct 15 02:54:47 2013 +0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Tue Oct 15 21:06:50 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/c9698b41/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):
 


Mime
View raw message