fix: use super() properly to ensure that these classes are initialised as expected. fix
authortimothy.murphy@nokia.com
Mon, 15 Feb 2010 11:58:10 +0000
branchfix
changeset 208 432f3175b677
parent 207 f7f333fcfeeb
child 209 604f2aceff59
fix: use super() properly to ensure that these classes are initialised as expected.
sbsv2/raptor/python/plugins/filter_checkcomp.py
sbsv2/raptor/python/plugins/filter_whatcomp.py
--- a/sbsv2/raptor/python/plugins/filter_checkcomp.py	Sun Feb 14 21:04:58 2010 +0200
+++ b/sbsv2/raptor/python/plugins/filter_checkcomp.py	Mon Feb 15 11:58:10 2010 +0000
@@ -24,7 +24,7 @@
 class FilterCheckComp(filter_what.FilterWhat):
 
 	def __init__(self):
-		super(filter_what.FilterWhat, self).__init__()
+		super(FilterCheckComp, self).__init__()
 		self.check = True
 
 	def write(self, text):
--- a/sbsv2/raptor/python/plugins/filter_whatcomp.py	Sun Feb 14 21:04:58 2010 +0200
+++ b/sbsv2/raptor/python/plugins/filter_whatcomp.py	Mon Feb 15 11:58:10 2010 +0000
@@ -24,7 +24,7 @@
 class FilterWhatComp(filter_what.FilterWhat):
 
         def __init__(self): 
-		super(filter_what.FilterWhat, self).__init__()
+		super(FilterWhatComp, self).__init__()
 
 	def write(self, text):
 		"process some log text"