|
Gaudi Framework, version v21r4 |
| Home | Generated: 7 Sep 2009 |


Definition at line 342 of file GaudiTest.py.
Public Member Functions | |
| def | __init__ |
| def | __processLine__ |
Public Attributes | |
| strings | |
| regexps | |
| def GaudiTest::LineSkipper::__init__ | ( | self, | ||
strings = [], |
||||
regexps = [] | ||||
| ) |
Definition at line 343 of file GaudiTest.py.
00343 : 00344 import re 00345 self.strings = strings 00346 self.regexps = map(re.compile,regexps) 00347 def __processLine__(self, line):
| def GaudiTest::LineSkipper::__processLine__ | ( | self, | ||
| line | ||||
| ) |
Reimplemented from GaudiTest::FilePreprocessor.
Definition at line 348 of file GaudiTest.py.
00348 : 00349 for s in self.strings: 00350 if line.find(s) >= 0: return None 00351 for r in self.regexps: 00352 if r.search(line): return None 00353 return line 00354 class BlockSkipper(FilePreprocessor):
Definition at line 345 of file GaudiTest.py.
Definition at line 346 of file GaudiTest.py.