http://docs.python.org/library/statvfs.html
Deprecated since version 2.6: The statvfs module has been deprecated for removal in Python 3.0. [-_-]' how to replace this ? visibly it doesn't work with big filesystems


Spark wrote:I looked the sabnzb sources and I found where freespace where used :
Since os.statvfs is deprecated, why don't use a specific system call for unix/linux to replace this ? Something like system("df -kP") with appropriated string management ?










Spark wrote:I made a dirty modification to my misc.py (and after deleted misc.pyo)
and it works perfectly
I think there is a 8To limit for statvfs to work fine.







