--- a/sbsv2/raptor/python/plugins/filter_whatcomp.py Mon Dec 14 22:17:56 2009 +0000
+++ b/sbsv2/raptor/python/plugins/filter_whatcomp.py Wed Dec 16 15:25:49 2009 +0000
@@ -23,11 +23,16 @@
class FilterWhatComp(filter_what.FilterWhat):
+ def __init__(self):
+ super(filter_what.FilterWhat,self).__init__()
+ self.path_prefix_to_strip = os.path.abspath(os.environ["EPOCROOT"])
+
def write(self, text):
"process some log text"
+ ok = True
for line in text.splitlines():
- ok =filter_what.FilterWhat.write(self, line)
+ ok = filter_what.FilterWhat.write(self, line)
if not ok:
break