#NEWLINE# def feed( self , aBuf ) : #NEWLINE# #INDENT# for prober in self . _mProbers : #NEWLINE# #INDENT# if ( not prober ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( not prober . active ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# st = prober . feed ( aBuf ) #NEWLINE# if ( not st ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# if ( st == constants . eFoundIt ) : #NEWLINE# #INDENT# self . _mBestGuessProber = prober #NEWLINE# return self . get_state ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( st == constants . eNotMe ) : #NEWLINE# #INDENT# prober . active = False #NEWLINE# self . _mActiveNum -= 1 #NEWLINE# if ( self . _mActiveNum <= 0 ) : #NEWLINE# #INDENT# self . _mState = constants . eNotMe #NEWLINE# return self . get_state ( ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# #UNINDENT# return self . get_state ( )