Commit a1ccfa43 authored by juga's avatar juga
Browse files

Comment functions not being used

parent 1e916ea2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -84,11 +84,15 @@ def sbws_required_disk_space(conf):


def df(path):
    # Not being used, since it makes a disk space system call and some
    # systems might not allow it
    """Return space left on device where path is in MiB."""
    return round(shutil.disk_usage(path).free / (1024 ** 2))


def is_low_space(conf):
    # Not being used, since it makes a disk space system call and some
    # systems might not allow it
    """Warn and return True when the space left on the device is less than
    what is needed for sbws and False otherwise needs.
    """