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

pastly at torproject.org pastly at torproject.org
Wed Sep 5 19:44:55 UTC 2018


commit b5002e7e921a04bb32f8f4a0210fbcc58bdfcbcd
Author: juga0 <juga at riseup.net>
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))
 
 





More information about the tor-commits mailing list