[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] Specify the unit is MiB



commit b5002e7e921a04bb32f8f4a0210fbcc58bdfcbcd
Author: juga0 <juga@xxxxxxxxxx>
Date:   Fri Aug 3 12:54:06 2018 +0000

    Specify the unit is MiB
---
 sbws/util/fs.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbws/util/fs.py b/sbws/util/fs.py
index 5b48f3b..0f20d0a 100644
--- a/sbws/util/fs.py
+++ b/sbws/util/fs.py
@@ -39,7 +39,7 @@ def sbws_required_disk_space(conf):
 
 
 def df(path):
-    """Return space left on device where path is."""
+    """Return space left on device where path is in MiB."""
     return round(shutil.disk_usage(path).free / (1024 ** 2))
 
 



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits