Skip to content

Commit 6376b30

Browse files
committed
Remove redundant condition
1 parent 60dfd20 commit 6376b30

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

reportportal_client/helpers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,6 @@ def match_pattern(pattern: Optional[re.Pattern], line: Optional[str]) -> bool:
511511
:param line: line to check
512512
:return: True if the line matches the pattern with asterisks, False otherwise
513513
"""
514-
if pattern is None and line is None:
515-
return True
516514
if pattern is None:
517515
return True
518516
if line is None:

0 commit comments

Comments
 (0)