#NEWLINE# def read( self , length = None ) : #NEWLINE# #INDENT# if ( length is None ) : #NEWLINE# #INDENT# length = ( self . size - length . offset ) #NEWLINE# if ( length > self . max_unbound_read ) : #NEWLINE# #INDENT# raise OversizedRead ( ( 'Attempted to read file of size %s when Server.max_unbound_read_size is %s' % ( self . size , self . max_unbound_read ) ) ) #NEWLINE# #UNINDENT# #UNINDENT# return self . Read ( length )