|
@@ -841,7 +841,8 @@ class LocalNodeController(NodeController):
|
|
percent,keyword,message=-100,"no_message","No bootstrap messages yet."
|
|
percent,keyword,message=-100,"no_message","No bootstrap messages yet."
|
|
with open(logfname, 'r') as f:
|
|
with open(logfname, 'r') as f:
|
|
for line in f:
|
|
for line in f:
|
|
- m = re.search(r'Bootstrapped (\d+)%( \([^\)]*\))?: (.*)', line)
|
|
|
|
|
|
+ m = re.search(r'Bootstrapped (\d+)%(?: \(([^\)]*)\))?: (.*)',
|
|
|
|
+ line)
|
|
if m:
|
|
if m:
|
|
percent, keyword, message = m.groups()
|
|
percent, keyword, message = m.groups()
|
|
percent = int(percent)
|
|
percent = int(percent)
|