From f875ddea28b09f2b78496266c80502d5dc2b7411 Mon Sep 17 00:00:00 2001 From: Yobmod Date: Thu, 20 May 2021 14:27:15 +0100 Subject: Mypy fixes --- git/objects/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/objects/base.py') 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) -- cgit v1.2.1