fix in event parser
This commit is contained in:
parent
80312ed21e
commit
24fa9a3fe3
@ -235,7 +235,7 @@ class FileParser:
|
||||
r"\[EXPORT][\s]*:[\s]*\[COMMENT]", moving_window[current_idx]
|
||||
)
|
||||
if not descrip_match:
|
||||
while current_idx > 0:
|
||||
while True:
|
||||
if re.search(
|
||||
break_pattern, moving_window[current_idx]
|
||||
):
|
||||
@ -245,6 +245,8 @@ class FileParser:
|
||||
)
|
||||
if descrip_match:
|
||||
break
|
||||
if current_idx <= 0:
|
||||
break
|
||||
current_idx -= 1
|
||||
if descrip_match:
|
||||
current_build_idx = current_idx
|
||||
|
Loading…
Reference in New Issue
Block a user