def METHOD_NAME(self, force_calculate=True):
    """
    Return an object containing information about the project's
    storage usage.
    If force_calculate is true, calculate the size by recursively
    scanning the directory tree.  This is deprecated.
    """
    if force_calculate:
        used = self.storage_used()
    else:
        used = None
    allowance = self.core_project.storage_allowance
    published = self.core_project.total_published_size
    return StorageInfo(allowance=allowance, published=published, used=used)