[tor-commits] [sbws/master] Fix linter error

juga at torproject.org juga at torproject.org
Tue Sep 18 09:26:11 UTC 2018


commit 1ba79e551e74d3bacedcfda9f7fde791f91260b1
Author: juga0 <juga at riseup.net>
Date:   Thu Sep 13 15:46:25 2018 +0000

    Fix linter error
---
 sbws/util/fs.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbws/util/fs.py b/sbws/util/fs.py
index 9877cf1..f61f07f 100644
--- a/sbws/util/fs.py
+++ b/sbws/util/fs.py
@@ -76,8 +76,8 @@ def sbws_required_disk_space(conf):
     text_dict['mb_code'] = round(size_code_deps / 1000 ** 2)
     # Multiply per 2, just in case
     size_total = (results_max_space_after_delete +
-                  v3bw_max_space_after_delete + space_log_files + size_tor_dir +
-                  size_code_deps) * 2
+                  v3bw_max_space_after_delete + space_log_files +
+                  size_tor_dir + size_code_deps) * 2
     text_dict['mb_total'] = round(size_total / 1000 ** 2)
     space_text = DISK_SPACE_TEXT.format(**text_dict)
     return space_text





More information about the tor-commits mailing list