![]() |
|
|
Generated: 8 Jan 2009 |


Definition at line 340 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 341 of file GaudiTest.py.
00341 : 00342 import re 00343 self.strings = strings 00344 self.regexps = map(re.compile,regexps) 00345 def __processLine__(self, line):
| def GaudiTest::LineSkipper::__processLine__ | ( | self, | ||
| line | ||||
| ) |
Reimplemented from GaudiTest::FilePreprocessor.
Definition at line 346 of file GaudiTest.py.
00346 : 00347 for s in self.strings: 00348 if line.find(s) >= 0: return None 00349 for r in self.regexps: 00350 if r.search(line): return None 00351 return line 00352 class RegexpReplacer(FilePreprocessor):
Definition at line 343 of file GaudiTest.py.
Definition at line 344 of file GaudiTest.py.