diff options
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 6a253764f..16f68c749 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3244,7 +3244,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", if hasattr(os, "statvfs"): vfs_stat = os.statvfs(mysettings["DISTDIR"]) try: - mysize = os.stat(myfile_path) + mysize = os.stat(myfile_path).st_size except OSError, e: if e.errno != errno.ENOENT: raise |