summaryrefslogtreecommitdiff
path: root/gitdb/object/commit.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitdb/object/commit.py')
-rw-r--r--gitdb/object/commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitdb/object/commit.py b/gitdb/object/commit.py
index a42660b..7f3d9e4 100644
--- a/gitdb/object/commit.py
+++ b/gitdb/object/commit.py
@@ -118,7 +118,7 @@ class Commit(base.Object, Traversable, Serializable):
def _set_cache_(self, attr):
if attr in Commit.__slots__:
# read the data in a chunk, its faster - then provide a file wrapper
- binsha, typename, self.size, stream = self.odb.odb.stream(self.binsha)
+ binsha, typename, self.size, stream = self.odb.stream(self.binsha)
self._deserialize(StringIO(stream.read()))
else:
super(Commit, self)._set_cache_(attr)