#NEWLINE# def get_data( self , unreader , buf , stop = False ) : #NEWLINE# #INDENT# data = unreader . read ( ) #NEWLINE# if ( not data ) : #NEWLINE# #INDENT# if stop : #NEWLINE# #INDENT# raise StopIteration ( ) #NEWLINE# #UNINDENT# raise NoMoreData ( buf . getvalue ( ) ) #NEWLINE# #UNINDENT# buf . write ( data )