On Sun, 2012-09-02 at 16:17 +0200, tim.laurid...@gmail.com wrote:
> On Fri, Aug 31, 2012 at 9:58 PM, James Antill wrote:
>
> > +if size and (copy_local or not _all_urls_are_files(url)):
> > dirstat = os.statvfs(os.path.dirname(local))
> > avail = dirstat.f_bavail
On Fri, Aug 31, 2012 at 9:58 PM, James Antill wrote:
> +if size and (copy_local or not _all_urls_are_files(url)):
> dirstat = os.statvfs(os.path.dirname(local))
> avail = dirstat.f_bavail * dirstat.f_bsize
> if avail < long(size):
>
Looks like self