Show More
@@ -1482,7 +1482,8 b' class TTest(Test):' | |||
|
1482 | 1482 | |
|
1483 | 1483 | optional = [] |
|
1484 | 1484 | for i, el in enumerate(els): |
|
1485 | ||
|
1485 | r = False | |
|
1486 | if el: | |
|
1486 | 1487 | r = self.linematch(el, lout) |
|
1487 | 1488 | if isinstance(r, str): |
|
1488 | 1489 | if r == '-glob': |
@@ -1606,10 +1607,9 b' class TTest(Test):' | |||
|
1606 | 1607 | return TTest.rematch(res, l) |
|
1607 | 1608 | |
|
1608 | 1609 | def linematch(self, el, l): |
|
1609 | retry = False | |
|
1610 | 1610 | if el == l: # perfect match (fast) |
|
1611 | 1611 | return True |
|
1612 | if el: | |
|
1612 | retry = False | |
|
1613 | 1613 |
|
|
1614 | 1614 |
|
|
1615 | 1615 |
|
General Comments 0
You need to be logged in to leave comments.
Login now