summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-25 03:54:34 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-25 03:54:34 +0000
commit133450d9cbf542d3313d403a4cd0add2f224be40 (patch)
tree82d53f15321a8ba435df980ae942ab5c38aca71e
parentf702bafa4958b8e5df8b616112ef1e2373985cde (diff)
downloadportage-133450d9cbf542d3313d403a4cd0add2f224be40.tar.gz
portage-133450d9cbf542d3313d403a4cd0add2f224be40.tar.bz2
portage-133450d9cbf542d3313d403a4cd0add2f224be40.zip
Fix typo.
svn path=/main/trunk/; revision=9506
-rw-r--r--pym/portage/__init__.py2
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