[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [stem/master] Relax bootstrap percentage regex
commit 0eb8fda3b72676b50f0c27db28dd78d3d69e79e7
Author: Taylor Yu <catalyst@xxxxxxxxxxxxxx>
Date: Thu Dec 13 18:21:58 2018 -0600
Relax bootstrap percentage regex
After integrating #28731 in tor, the bootstrap percentage regex no
longer matches. Relax it accordingly.
---
stem/process.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/stem/process.py b/stem/process.py
index e2b36ec0..e6aaf50b 100644
--- a/stem/process.py
+++ b/stem/process.py
@@ -138,7 +138,7 @@ def launch_tor(tor_cmd = 'tor', args = None, torrc_path = None, completion_perce
signal.signal(signal.SIGALRM, timeout_handler)
signal.setitimer(signal.ITIMER_REAL, timeout)
- bootstrap_line = re.compile('Bootstrapped ([0-9]+)%: ')
+ bootstrap_line = re.compile('Bootstrapped ([0-9]+)%')
problem_line = re.compile('\[(warn|err)\] (.*)$')
last_problem = 'Timed out'
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits