From 133450d9cbf542d3313d403a4cd0add2f224be40 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 25 Mar 2008 03:54:34 +0000 Subject: [PATCH] Fix typo. svn path=/main/trunk/; revision=9506 --- pym/portage/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2