summaryrefslogtreecommitdiff
path: root/git/index/fun.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-01-14 17:47:44 +0100
committerSebastian Thiel <byronimo@gmail.com>2015-01-14 17:49:33 +0100
commit6569c4849197c9475d85d05205c55e9ef28950c1 (patch)
tree3dfb25f7c23a74e466e43ab6db87eeb4290712a7 /git/index/fun.py
parent53e5fb3733e491925a01e9da6243e93c2e4214c1 (diff)
downloadgitpython-6569c4849197c9475d85d05205c55e9ef28950c1.tar.gz
Fixed some doc strings to build correctly with sphinx
Fixes #7 [ci skip]
Diffstat (limited to 'git/index/fun.py')
-rw-r--r--git/index/fun.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/git/index/fun.py b/git/index/fun.py
index 38ad843b..f07cf7dc 100644
--- a/git/index/fun.py
+++ b/git/index/fun.py
@@ -166,11 +166,10 @@ def entry_key(*entry):
def read_cache(stream):
"""Read a cache file from the given stream
:return: tuple(version, entries_dict, extension_data, content_sha)
- * version is the integer version number
- * entries dict is a dictionary which maps IndexEntry instances to a path
- at a stage
- * extension_data is '' or 4 bytes of type + 4 bytes of size + size bytes
- * content_sha is a 20 byte sha on all cache file contents"""
+ * version is the integer version number
+ * entries dict is a dictionary which maps IndexEntry instances to a path at a stage
+ * extension_data is '' or 4 bytes of type + 4 bytes of size + size bytes
+ * content_sha is a 20 byte sha on all cache file contents"""
version, num_entries = read_header(stream)
count = 0
entries = dict()