summaryrefslogtreecommitdiff
path: root/git/cmd.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/cmd.py
parent53e5fb3733e491925a01e9da6243e93c2e4214c1 (diff)
downloadgitpython-6569c4849197c9475d85d05205c55e9ef28950c1.tar.gz
Fixed some doc strings to build correctly with sphinx
Fixes #7 [ci skip]
Diffstat (limited to 'git/cmd.py')
-rw-r--r--git/cmd.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/git/cmd.py b/git/cmd.py
index ccce086e..4ceebb4c 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -769,10 +769,10 @@ class Git(LazyMixin):
return (hexsha, typename, size, data)
def stream_object_data(self, ref):
- """As get_object_header, but returns the data as a stream
+ """ As get_object_header, but returns the data as a stream
+
:return: (hexsha, type_string, size_as_int, stream)
- :note: This method is not threadsafe, you need one independent Command instance
- per thread to be safe !"""
+ :note: This method is not threadsafe, you need one independent Command instance per thread to be safe !"""
cmd = self._get_persistent_cmd("cat_file_all", "cat_file", batch=True)
hexsha, typename, size = self.__get_object_header(cmd, ref)
return (hexsha, typename, size, self.CatFileContentStream(size, cmd.stdout))