Lines 3944-3951
Link Here
|
3944 |
mysize = 0 |
3979 |
mysize = 0 |
3945 |
if (size - mysize + vfs_stat.f_bsize) >= \ |
3980 |
if (size - mysize + vfs_stat.f_bsize) >= \ |
3946 |
(vfs_stat.f_bsize * vfs_stat.f_bavail): |
3981 |
(vfs_stat.f_bsize * vfs_stat.f_bavail): |
3947 |
writemsg("!!! Insufficient space to store %s in %s\n" % (myfile, mysettings["DISTDIR"]), noiselevel=-1) |
3982 |
if secpass < 2: |
3948 |
has_space = False |
3983 |
has_space = False |
|
|
3984 |
elif userfetch: |
3985 |
has_space = False |
3986 |
elif (size - mysize + vfs_stat.f_bsize) >= \ |
3987 |
(vfs_stat.f_bsize * vfs_stat.f_bfree): |
3988 |
has_space = False |
3989 |
|
3990 |
if not has_space: |
3991 |
writemsg("!!! Insufficient space to store %s in %s\n" % \ |
3992 |
(myfile, mysettings["DISTDIR"]), noiselevel=-1) |
3949 |
|
3993 |
|
3950 |
if distdir_writable and use_locks: |
3994 |
if distdir_writable and use_locks: |