models: cleanup dead code

This commit is contained in:
René Stadler 2012-08-24 01:37:27 +02:00 committed by Stefan Sauer
parent bcfc4197d8
commit 01ce89639e

View file

@ -261,10 +261,6 @@ class FilteredLogModelBase (LogModelBase):
return line_index
def super_model_changed (self):
pass
def _iter_hierarchy (self):
model = self
@ -272,23 +268,6 @@ class FilteredLogModelBase (LogModelBase):
yield model
model = model.super_model
class FilteredLogModelIdentity (FilteredLogModelBase):
def __init__ (self, super_model):
FilteredLogModelBase.__init__ (self, super_model)
self.line_offsets = self.super_model.line_offsets
self.line_levels = self.super_model.line_levels
def line_index_from_super (self, super_line_index):
return super_line_index
def line_index_to_super (self, line_index):
return line_index
class FilteredLogModel (FilteredLogModelBase):
def __init__ (self, super_model):