Commit a1ccfa43 authored by juga's avatar juga
Browse files

Comment functions not being used

parent 1e916ea2
......@@ -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.
"""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment