Fix typo.
authorZac Medico <zmedico@gentoo.org>
Tue, 25 Mar 2008 03:54:34 +0000 (03:54 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 25 Mar 2008 03:54:34 +0000 (03:54 -0000)
svn path=/main/trunk/; revision=9506

pym/portage/__init__.py

index 6a253764f79e467a2e22665a8f368d068c4ca59c..16f68c749b43197f00b8194172d394ba535f740d 100644 (file)
@@ -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