[tor-commits] [stem/master] Relax bootstrap percentage regex
atagar at torproject.org
atagar at torproject.org
Fri Dec 14 18:59:53 UTC 2018
commit 0eb8fda3b72676b50f0c27db28dd78d3d69e79e7
Author: Taylor Yu <catalyst at torproject.org>
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'
More information about the tor-commits
mailing list