diff options
author | Yobmod <yobmod@gmail.com> | 2021-05-20 14:27:15 +0100 |
---|---|---|
committer | Yobmod <yobmod@gmail.com> | 2021-05-20 14:27:15 +0100 |
commit | f875ddea28b09f2b78496266c80502d5dc2b7411 (patch) | |
tree | 9c304fece397f1f7cfd034b246a7acbdb87c49e6 /git/objects/base.py | |
parent | 9c3255387fe2ce9b156cc06714148436ad2490d9 (diff) | |
download | gitpython-f875ddea28b09f2b78496266c80502d5dc2b7411.tar.gz |
Mypy fixes
Diffstat (limited to 'git/objects/base.py')
-rw-r--r-- | git/objects/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/base.py b/git/objects/base.py index 34c595ee..884f9651 100644 --- a/git/objects/base.py +++ b/git/objects/base.py @@ -89,7 +89,7 @@ class Object(LazyMixin): """Retrieve object information""" if attr == "size": oinfo = self.repo.odb.info(self.binsha) - self.size = oinfo.size + self.size = oinfo.size # type: int # assert oinfo.type == self.type, _assertion_msg_format % (self.binsha, oinfo.type, self.type) else: super(Object, self)._set_cache_(attr) |