def get_obj_size(self, sha):
        sha = str(sha)

        try:
            obj_size = int(self.repo.cat_file("-s", sha).strip())
        except __HOLE__:
            raise GitErrorSha("object '%s' not found" % sha)

        return obj_size
dataset/ETHPy150Open hvr/trac-git-plugin/tracext/git/PyGIT.py/Storage.get_obj_size