#NEWLINE# def onTimer( self , timer ) : #NEWLINE# #INDENT# count = 0 #NEWLINE# while ( ( self < 10 ) and ( self . index < len ( self . items ) ) ) : #NEWLINE# #INDENT# self . _add_items ( self . index ) #NEWLINE# self . index += 1 #NEWLINE# count += 1 #NEWLINE# #UNINDENT# if ( self . index < len ( self . items ) ) : #NEWLINE# #INDENT# timer . schedule ( 1 )