[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 d6e44d30b1565ab5696a0bfd7bf20906f24db725
Author: juga0 <juga@xxxxxxxxxx>
Date:   Thu Sep 6 16:54:58 2018 +0000

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

diff --git a/sbws/core/scanner.py b/sbws/core/scanner.py
index fa8cc88..b1976ae 100644
--- a/sbws/core/scanner.py
+++ b/sbws/core/scanner.py
@@ -21,8 +21,6 @@ import logging
 import requests
 import random
 
-from ..util.fs import is_low_space
-
 
 rng = random.SystemRandom()
 end_event = Event()
@@ -371,9 +369,6 @@ def gen_parser(sub):
 
 
 def main(args, conf):
-    if is_low_space(conf):
-        exit(1)
-
     if conf.getint('scanner', 'measurement_threads') < 1:
         fail_hard('Number of measurement threads must be larger than 1')
 



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