|
Gaudi Framework, version v21r7 |
| Home | Generated: 22 Jan 2010 |


Public Member Functions | |
| def | __init__ |
| def | __processLine__ |
Public Attributes | |
| strings | |
| regexps | |
Definition at line 358 of file GaudiTest.py.
| def GaudiTest::LineSkipper::__init__ | ( | self, | ||
strings = [], |
||||
regexps = [] | ||||
| ) |
Definition at line 359 of file GaudiTest.py.
00359 : 00360 import re 00361 self.strings = strings 00362 self.regexps = map(re.compile,regexps) 00363 def __processLine__(self, line):
| def GaudiTest::LineSkipper::__processLine__ | ( | self, | ||
| line | ||||
| ) |
Reimplemented from GaudiTest::FilePreprocessor.
Definition at line 364 of file GaudiTest.py.
00364 : 00365 for s in self.strings: 00366 if line.find(s) >= 0: return None 00367 for r in self.regexps: 00368 if r.search(line): return None 00369 return line 00370 class BlockSkipper(FilePreprocessor):
Definition at line 361 of file GaudiTest.py.
Definition at line 362 of file GaudiTest.py.