old_contents: # Tai Sakuma <tai.sakuma@cern.ch>
  from EventLoop import EventLoop
  
  ##__________________________________________________________________||
  class AllEvents(object):
      def __call__(self, event): return True
  
  ##__________________________________________________________________||
  class EventReaderBundle(object):
  
      def __init__(self, eventBuilder, eventLoopRunner, readerCollectorAssociator, eventSelection = None):
          self.eventBuilder = eventBuilder
          self.eventLoopRunner = eventLoopRunner
          self.readerCollectorAssociator = readerCollectorAssociator
          self.eventSelection = eventSelection if eventSelection is not None else AllEvents()
  
          self.EventLoop = EventLoop
  
      def begin(self):
          self.eventLoopRunner.begin()
  
      def read(self, component):
          reader = self.readerCollectorAssociator.make(component.name)
          eventLoop = self.EventLoop(self.eventBuilder, self.eventSelection, component, reader)
          self.eventLoopRunner.run(eventLoop)
  
      def end(self):
          self.eventLoopRunner.end()
          return self.readerCollectorAssociator.collector.collect()
          # return self.readerCollectorAssociator.collect()
  
  ##__________________________________________________________________||
  
new_contents: # Tai Sakuma <tai.sakuma@cern.ch>
  from EventLoop import EventLoop
  
  ##__________________________________________________________________||
  class AllEvents(object):
      def __call__(self, event): return True
  
  ##__________________________________________________________________||
  class EventReaderBundle(object):
  
      def __init__(self, eventBuilder, eventLoopRunner, readerCollectorAssociator, eventSelection = None):
          self.eventBuilder = eventBuilder
          self.eventLoopRunner = eventLoopRunner
          self.readerCollectorAssociator = readerCollectorAssociator
          self.eventSelection = eventSelection if eventSelection is not None else AllEvents()
  
          self.EventLoop = EventLoop
  
      def begin(self):
          self.eventLoopRunner.begin()
  
      def read(self, component):
          reader = self.readerCollectorAssociator.make(component.name)
          eventLoop = self.EventLoop(self.eventBuilder, self.eventSelection, component, reader)
          self.eventLoopRunner.run(eventLoop)
  
      def end(self):
          self.eventLoopRunner.end()
          return self.readerCollectorAssociator.collector.collect()
  
  ##__________________________________________________________________||
  
subject: remove a commented out line in EventReaderBundle