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

[tor-commits] [sbws/master] Stop using function that makes disk system call



commit 0da51525c4e679f0d7d04bbd81ef9768bb62153a
Author: juga0 <juga@xxxxxxxxxx>
Date:   Thu Sep 6 16:53:31 2018 +0000

    Stop using function that makes disk system call
    
    since some systems might not allow it.
---
 sbws/core/generate.py | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sbws/core/generate.py b/sbws/core/generate.py
index 3c19ed4..f10ecc1 100644
--- a/sbws/core/generate.py
+++ b/sbws/core/generate.py
@@ -5,7 +5,6 @@ from argparse import ArgumentDefaultsHelpFormatter
 import os
 import logging
 from sbws.util.timestamp import now_fname
-from ..util.fs import is_low_space
 
 log = logging.getLogger(__name__)
 
@@ -41,8 +40,6 @@ def gen_parser(sub):
 
 def main(args, conf):
     os.makedirs(conf.getpath('paths', 'v3bw_dname'), exist_ok=True)
-    if is_low_space(conf):
-        exit(1)
 
     datadir = conf.getpath('paths', 'datadir')
     if not os.path.isdir(datadir):



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